Skip to content
Myr

fix sessions.py

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 818daff · Browse files · 1 file+3 added−2 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:requests/sessions.py+3 added-2 removed
11 unmodified lines
12import time13from collections import Mapping14from datetime import timedelta1516from urllib3._collections import RecentlyUsedContainer1718from .auth import _basic_auth_str19from .compat import cookielib, is_py3, OrderedDict, urljoin, urlparse20from .cookies import (21 cookiejar_from_dict, extract_cookies_to_jar, RequestsCookieJar, merge_cookies)
2 unmodified lines
24from ._internal_utils import to_native_string25from .utils import to_key_val_list, default_headers26from .exceptions import (27 TooManyRedirects, InvalidSchema, ChunkedEncodingError, ContentDecodingError)26from .packages.urllib3._collections import RecentlyUsedContainer27from .structures import CaseInsensitiveDict2829from .structures import CaseInsensitiveDict30from .adapters import HTTPAdapter3132from .utils import (33 requote_uri, get_environ_proxies, get_netrc_auth, should_bypass_proxies,
735 unmodified lines