Module Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias identifier alias identifier TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str NameLoad body Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr SubscriptLoad Call NameLoad ListLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Index Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Pass Return BoolOpOr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str AugAssignAdd AttributeStore NameLoad attr Num If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr Call AttributeLoad NameLoad attr Str CompareEq Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore BoolOpAnd UnaryOpNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Assign NameStore NameLoad finalbody If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad BinOpSub NameLoad Num NameLoad NameLoad If BoolOpAnd NameLoad CompareIn AttributeLoad NameLoad attr ListLoad Num Num Num Num CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad BinOpSub NameLoad Num NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict If NameLoad body If Call NameLoad NameLoad NameLoad body Pass orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Str Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Str If NameLoad body Assign SubscriptStore NameLoad Index Str BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Str If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Return Call NameLoad NameLoad keyword NameLoad NameLoad orelse Return Call NameLoad NameLoad keyword NameLoad NameLoad decorator_list
N/A N/A logging N/A socket httplib HTTPConnection HTTPSConnection HTTPException Queue Queue Empty Full select select socket error SocketError timeout SocketTimeout N/A N/A N/A ssl N/A BaseSSLError N/A ssl SSLError N/A N/A N/A ImportError N/A N/A ssl None N/A BaseSSLError None request RequestMethods response HTTPResponse exceptions SSLError MaxRetryError TimeoutError HostChangedError EmptyPoolError N/A log N/A N/A logging getLogger __name__ N/A _Default N/A object VerifiedHTTPSConnection N/A HTTPSConnection N/A N/A 
    Based on httplib.HTTPSConnection but wraps the socket with
    SSL certification.
     N/A cert_reqs None N/A ca_certs None set_cert N/A N/A self key_file cert_file cert_reqs ca_certs N/A None None CERT_NONE None N/A N/A ssl_req_scheme N/A CERT_NONE CERT_OPTIONAL CERT_REQUIRED N/A ssl CERT_NONE N/A ssl CERT_OPTIONAL N/A ssl CERT_REQUIRED N/A N/A self key_file key_file N/A N/A self cert_file cert_file N/A N/A self cert_reqs N/A N/A N/A ssl_req_scheme get cert_reqs N/A ssl CERT_NONE N/A N/A self ca_certs ca_certs N/A connect N/A N/A self N/A N/A N/A sock N/A N/A socket create_connection N/A N/A self host N/A self port N/A self timeout N/A N/A self sock N/A N/A ssl wrap_socket sock N/A self key_file N/A self cert_file cert_reqs N/A self cert_reqs ca_certs N/A self ca_certs N/A N/A ConnectionPool N/A object N/A N/A 
    Base class for all connection pools, such as
    :class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`.
     N/A N/A HTTPConnectionPool N/A ConnectionPool RequestMethods N/A N/A 
    Thread-safe connection pool for one host.

    :param host:
        Host used for this HTTP Connection (e.g. "localhost"), passed into
        :class:`httplib.HTTPConnection`.

    :param port:
        Port used for this HTTP Connection (None is equivalent to 80), passed
        into :class:`httplib.HTTPConnection`.

    :param strict:
        Causes BadStatusLine to be raised if the status line can't be parsed
        as a valid HTTP/1.0 or 1.1 status line, passed into
        :class:`httplib.HTTPConnection`.

    :param timeout:
        Socket timeout for each individual connection, can be a float. None
        disables timeout.

    :param maxsize:
        Number of connections to save that can be reused. More than 1 is useful
        in multithreaded situations. If ``block`` is set to false, more
        connections will be created but they will not be saved once they've
        been used.

    :param block:
        If set to True, no more than ``maxsize`` connections will be used at
        a time. When no free connections are available, the call will block
        until a connection has been released. This is a useful side effect for
        particular multithreaded situations where one does not want to use more
        than maxsize connections per host to prevent flooding.

    :param headers:
        Headers to include with all requests, unless other headers are given
        explicitly.
     N/A scheme http __init__ N/A N/A self host port strict timeout maxsize block headers N/A None False None 1 False None N/A N/A N/A self host host N/A N/A self port port N/A N/A self strict strict N/A N/A self timeout timeout N/A N/A self pool N/A Queue maxsize N/A N/A self block block N/A N/A self headers N/A headers N/A N/A _ N/A xrange maxsize N/A N/A N/A N/A N/A self pool put None N/A N/A self num_connections 0 N/A N/A self num_requests 0 N/A _new_conn N/A N/A self N/A N/A N/A 
        Return a fresh :class:`httplib.HTTPConnection`.
         N/A N/A self num_connections 1 N/A N/A N/A log info N/A Starting new HTTP connection (%d): %s N/A N/A self num_connections N/A self host N/A N/A HTTPConnection host N/A self host port N/A self port N/A _get_conn N/A N/A self timeout N/A None N/A N/A 
        Get a connection. Will return a pooled connection if one is available.

        If no connections are available and :prop:`.block` is ``False``, then a
        fresh connection is returned.

        :param timeout:
            Seconds to wait before giving up and raising
            :class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
            :prop:`.block` is ``True``.
         N/A conn None N/A N/A N/A conn N/A N/A N/A self pool get block N/A self block timeout timeout N/A N/A conn N/A conn sock N/A N/A select N/A N/A conn sock N/A N/A 0.0 N/A 0 N/A N/A N/A N/A log info N/A Resetting dropped connection: %s N/A self host N/A N/A N/A conn close N/A N/A N/A Empty N/A N/A N/A self block N/A N/A N/A EmptyPoolError Pool reached maximum size and no more connections are allowed. N/A N/A N/A conn N/A N/A self _new_conn N/A _put_conn N/A N/A self conn N/A N/A N/A 
        Put a connection back into the pool.

        :param conn:
            Connection object for the current host and port as returned by
            :meth:`._new_conn` or :meth:`._get_conn`.

        If the pool is already full, the connection is discarded because we
        exceeded maxsize. If connections are discarded frequently, then maxsize
        should be increased.
         N/A N/A N/A N/A N/A N/A self pool put conn block False N/A N/A N/A Full N/A N/A N/A N/A log warning N/A HttpConnectionPool is full, discarding connection: %s N/A self host N/A _make_request N/A N/A self conn method url timeout N/A _Default httplib_request_kw N/A N/A 
        Perform a request on a given httplib connection object taken from our
        pool.
         N/A N/A self num_requests 1 N/A N/A timeout _Default N/A N/A timeout N/A self timeout N/A N/A N/A conn request method url httplib_request_kw N/A N/A N/A N/A conn sock settimeout timeout N/A httplib_response N/A N/A conn getresponse N/A N/A N/A log debug N/A "%s %s %s" %s %s N/A method url N/A conn _http_vsn_str N/A httplib_response status N/A httplib_response length N/A httplib_response N/A is_same_host N/A N/A self url N/A N/A N/A 
        Check if the given ``url`` is a member of the same host as this
        conncetion pool.
         N/A N/A N/A N/A url startswith / N/A N/A get_host url N/A N/A self scheme N/A self host N/A self port N/A urlopen N/A N/A self method url body headers retries redirect assert_same_host timeout pool_timeout release_conn N/A None None 3 True True _Default None None response_kw N/A N/A 
        Get a connection from the pool and perform an HTTP request. This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method provided
           by :class:`.RequestMethods`, such as :meth:`.request`.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param body:
            Data to send in the request body (useful for creating
            POST requests, see HTTPConnectionPool.post_url for
            more convenience).

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Number of retries to allow before raising a MaxRetryError exception.

        :param redirect:
            Automatically handle redirects (status codes 301, 302, 303, 307),
            each redirect counts as a retry.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When False, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one request.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received. This is useful if
            you're not preloading the response's content immediately. You will
            need to call ``r.release_conn()`` on the response ``r`` to return
            the connection back into the pool. If None, it takes the value of
            ``response_kw.get('preload_content', True)``.

        :param \**response_kw:
            Additional parameters are passed to
            :meth:`urllib3.response.HTTPResponse.from_httplib`
         N/A N/A headers None N/A N/A headers N/A self headers N/A N/A retries 0 N/A N/A N/A MaxRetryError N/A Max retries exceeded for url: %s url N/A N/A release_conn None N/A N/A release_conn N/A N/A response_kw get preload_content True N/A N/A assert_same_host N/A N/A N/A self is_same_host url N/A N/A host N/A %s://%s N/A N/A self scheme N/A self host N/A N/A self port N/A N/A host N/A %s:%d N/A host N/A self port N/A N/A HostChangedError N/A Connection pool with host '%s' tried to open a foreign host: %s N/A host url N/A conn None N/A N/A N/A N/A N/A conn N/A N/A self _get_conn timeout pool_timeout N/A httplib_response N/A N/A self _make_request conn method url timeout timeout body body headers headers N/A response_conn N/A N/A release_conn conn N/A response N/A N/A HTTPResponse from_httplib httplib_response pool self connection response_conn response_kw N/A N/A N/A N/A SocketTimeout Empty N/A e N/A N/A N/A TimeoutError N/A Request timed out after %s seconds N/A self timeout N/A N/A BaseSSLError N/A e N/A N/A N/A SSLError e N/A N/A N/A HTTPException SocketError N/A e N/A N/A conn None N/A N/A N/A conn release_conn N/A N/A N/A N/A self _put_conn conn N/A N/A conn N/A N/A N/A N/A log warn N/A Retrying (%d attempts remain) after connection broken by '%r': %s N/A retries e url N/A N/A N/A self urlopen method url body headers N/A retries 1 redirect assert_same_host N/A N/A redirect N/A N/A response status N/A 301 302 303 307 N/A location N/A response headers N/A N/A N/A N/A log info N/A Redirecting %s -> %s N/A url N/A N/A N/A response headers get location N/A N/A N/A self urlopen method N/A N/A N/A response headers get location body headers N/A retries 1 redirect assert_same_host N/A response N/A N/A HTTPSConnectionPool N/A HTTPConnectionPool N/A N/A 
    Same as :class:`.HTTPConnectionPool`, but HTTPS.

    When Python is compiled with the :mod:`ssl` module, then
    :class:`.VerifiedHTTPSConnection` is used, which *can* verify certificates,
    instead of :class:httplib.HTTPSConnection`.

    The ``key_file``, ``cert_file``, ``cert_reqs``, and ``ca_certs`` parameters
    are only used if :mod:`ssl` is available and are fed into
    :meth:`ssl.wrap_socket` to upgrade the connection socket into an SSL socket.
     N/A scheme https __init__ N/A N/A self host port strict timeout maxsize block headers key_file cert_file cert_reqs ca_certs N/A None False None 1 False None None None CERT_NONE None N/A N/A N/A N/A N/A super HTTPSConnectionPool self __init__ host port strict timeout maxsize block headers N/A N/A self key_file key_file N/A N/A self cert_file cert_file N/A N/A self cert_reqs cert_reqs N/A N/A self ca_certs ca_certs N/A _new_conn N/A N/A self N/A N/A N/A 
        Return a fresh :class:`httplib.HTTPSConnection`.
         N/A N/A self num_connections 1 N/A N/A N/A log info N/A Starting new HTTPS connection (%d): %s N/A N/A self num_connections N/A self host N/A N/A ssl N/A N/A N/A HTTPSConnection host N/A self host port N/A self port N/A connection N/A VerifiedHTTPSConnection host N/A self host port N/A self port N/A N/A N/A connection set_cert key_file N/A self key_file cert_file N/A self cert_file cert_reqs N/A self cert_reqs ca_certs N/A self ca_certs N/A connection N/A N/A make_headers N/A N/A keep_alive accept_encoding user_agent basic_auth N/A None None None None N/A N/A 
    Shortcuts for generating request headers.

    :param keep_alive:
        If ``True``, adds 'connection: keep-alive' header.

    :param accept_encoding:
        Can be a boolean, list, or string.
        ``True`` translates to 'gzip,deflate'.
        List will get joined by comma.
        String will be used as provided.

    :param user_agent:
        String representing the user-agent you want, such as
        "python-urllib3/0.6"

    :param basic_auth:
        Colon-separated username:password string for 'authorization: basic ...'
        auth header.

    Example: ::

        >>> make_headers(keep_alive=True, user_agent="Batman/1.0")
        {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'}
        >>> make_headers(accept_encoding=True)
        {'accept-encoding': 'gzip,deflate'}
     N/A headers N/A N/A accept_encoding N/A N/A N/A isinstance accept_encoding str N/A N/A N/A N/A N/A isinstance accept_encoding list N/A N/A accept_encoding N/A N/A , join accept_encoding N/A N/A accept_encoding gzip,deflate N/A N/A headers N/A accept-encoding accept_encoding N/A user_agent N/A N/A N/A headers N/A user-agent user_agent N/A keep_alive N/A N/A N/A headers N/A connection keep-alive N/A basic_auth N/A N/A N/A headers N/A authorization N/A Basic  N/A N/A N/A N/A basic_auth encode base64 strip N/A headers N/A get_host N/A N/A url N/A N/A N/A 
    Given a url, return its scheme, host and port (None if it's not there).

    For example: ::

        >>> get_host('http://google.com/mail/')
        ('http', 'google.com', None)
        >>> get_host('google.com:80')
        ('http', 'google.com', 80)
     N/A port None N/A scheme http N/A N/A // url N/A N/A N/A scheme url N/A N/A url split :// 1 N/A N/A / url N/A N/A N/A url _path N/A N/A url split / 1 N/A N/A : url N/A N/A N/A url port N/A N/A url split : 1 N/A port N/A int port N/A N/A scheme url port N/A connection_from_url N/A N/A url N/A kw N/A N/A 
    Given a url, return an :class:`.ConnectionPool` instance of its host.

    This is a shortcut for not having to parse out the scheme, host, and port
    of the url before creating an :class:`.ConnectionPool` instance.

    :param url:
        Absolute URL string that must include the scheme. Port is optional.

    :param \**kw:
        Passes additional parameters to the constructor of the appropriate
        :class:`.ConnectionPool`. Useful for specifying things like
        timeout, maxsize, headers, etc.

    Example: ::

        >>> conn = connection_from_url('http://google.com/')
        >>> r = conn.request('GET', '/')
     N/A N/A scheme host port N/A get_host url N/A N/A scheme https N/A N/A N/A HTTPSConnectionPool host port port kw N/A N/A N/A HTTPConnectionPool host port port kw N/A