Skip to content
Myr

add_dict_to_cookiejar

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 467766c · Browse files · 1 file+8 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Kenneth Reitz <me@kennethreitz.com>

Diff stats

1 file+8 added−0 removed

  • other:+8 added−0 removed

1 file+8 added−0 removed

modified:requests/utils.py+8 added
34 unmodified lines
3536 # create cookiejar37 cj = cookielib.CookieJar()3839 cj = add_dict_to_cookiejar(cj, cookie_dict)4041 return cj424344def add_dict_to_cookiejar(cj, cookie_dict):45 """Returns a CookieJar from a key/value dictionary."""4647 for k, v in cookie_dict.items():4849 cookie = cookielib.Cookie(50 version=0,
22 unmodified lines