Skip to content
Myr

redorder imports

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 98a7585 · Browse files · 1 file+4 added−6 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+4 added−6 removed

  • other:+4 added−6 removed

1 file+4 added−6 removed

modified:requests/adapters.py+4 added-6 removed
5 unmodified lines
67This module contains the transport adapters that Requests uses to define8and maintain connections.9"""1011import os12import socket1314from .models import Response15from .packages.urllib3.poolmanager import PoolManager16from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers1415import socket17from .structures import CaseInsensitiveDict18from .packages.urllib3.exceptions import MaxRetryError19from .packages.urllib3.exceptions import TimeoutError20from .packages.urllib3.exceptions import SSLError as _SSLError21from .packages.urllib3.exceptions import HTTPError as _HTTPError21from .packages.urllib3 import poolmanager22from .cookies import extract_cookies_to_jar23from .exceptions import (24ConnectionError, HTTPError, RequestException, Timeout, TooManyRedirects,25URLRequired, SSLError, MissingSchema, InvalidSchema, InvalidURL)23from .exceptions import ConnectionError, Timeout, SSLError2425DEFAULT_POOLSIZE = 1026DEFAULT_RETRIES = 027
137 unmodified lines