Skip to content
Myr

make add_dict_to_cookiejar cookielib.CookieJar compatible

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

authored by Nate Prewitt · committed by Nate Prewitt · parent b8f4c7c · Browse files · 1 file+1 added−3 removed
This commit

State

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

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:requests/utils.py+1 added-3 removed
329 unmodified lines
330 :param cookie_dict: Dict of key/values to insert into CookieJar.331 :rtype: CookieJar332 """333334 cj2 = cookiejar_from_dict(cookie_dict)335 cj.update(cj2)336 return cj334 return cookiejar_from_dict(cookie_dict, cj)335336337def get_encodings_from_content(content):338 """Returns encodings from given content string.
473 unmodified lines