/usr/lib/rads/venv/lib/python3.13/site-packages/urllib3/__pycache__
NameSizeModeActions
connection.cpython-313.pyc387770644editdlrm
connectionpool.cpython-313.pyc391010644editdlrm
exceptions.cpython-313.pyc174030644editdlrm
fields.cpython-313.pyc115880644editdlrm
filepost.cpython-313.pyc34770644editdlrm
poolmanager.cpython-313.pyc239580644editdlrm
response.cpython-313.pyc535350644editdlrm
_base_connection.cpython-313.pyc69480644editdlrm
_collections.cpython-313.pyc226420644editdlrm
_request_methods.cpython-313.pyc99420644editdlrm
_version.cpython-313.pyc6350644editdlrm
__init__.cpython-313.pyc71050644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/urllib3/__pycache__/connectionpool.cpython-313.pyc (39101B)
jkSSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK J r SSK J r SSKJr SSKJr SSKJr SS KJrJrJrJrJrJrJrJr SS KJr SS KJrJ r J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+ SS K,J-r- SS K.J/r/ SSK0J1r1 SSK2J3r3J4r4 SSK5J6r6 SSK7J8r8 SSK9J:r:J;r;Jr>J?r? SSK=J@rA SSK=JBrB SSKCJDrD \R(aSSKFrFSSKGJHrH SSKJIrIJJrJ \R"\L5rM\R\<\O\;S4rP"SS5rQ\R\R1rT"SS\Q\5rU"SS\U5rVS%SjrW\RS&S j5r@\RS'S!j5r@S(S"jr@S)S*S#jjrYS+S$jrZg),) annotationsNtimeout) TracebackType) _TYPE_BODY)HTTPHeaderDict)RequestMethods) BaseSSLErrorBrokenPipeErrorDummyConnectionHTTPConnection HTTPExceptionHTTPSConnection ProxyConfig_wrap_proxy_error)port_by_scheme) ClosedPoolErrorEmptyPoolError FullPoolErrorHostChangedErrorInsecureRequestWarningLocationValueError MaxRetryErrorNewConnectionError ProtocolError ProxyErrorReadTimeoutErrorSSLError TimeoutError)BaseHTTPResponse)is_connection_dropped)connection_requires_http_tunnel)_TYPE_BODY_POSITIONset_file_position)Retry)CertificateError)_DEFAULT_TIMEOUT _TYPE_DEFAULTTimeout)Url_encode_target)_normalize_host) parse_url)to_str)Self)BaseHTTPConnectionBaseHTTPSConnectionc\rSrSr%SrSrS\S'\Rr S S Sjjr SSjr SSjr SS jr SS jrS rg)ConnectionPoolCa Base class for all connection pools, such as :class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`. .. note:: ConnectionPool.urlopen() does not normalize or percent-encode target URIs which is useful if your target server doesn't support percent-encoded target URIs. N str | NoneschemecU(d [S5e[XRS9UlX l[ XRS9R 5Ulg)NzNo host specified.r7)rr-r7hostportnormalize_hostlower _tunnel_host)selfr:r;s I/usr/lib/rads/venv/lib/python3.13/site-packages/urllib3/connectionpool.py__init__ConnectionPool.__init__QsB$%9: :#D=  +4 DJJLcj[U5RSUR<SUR<S3$)Nz(host=z, port=))type__name__r:r;r?s r@__str__ConnectionPool.__str__^s.t*%%&fTYYM QOOrCcU$NrHs r@ __enter__ConnectionPool.__enter__as rCc$UR5 g)NF)close)r?exc_typeexc_valexc_tbs r@__exit__ConnectionPool.__exit__ds rCcgz4 Close all pooled connections and disable the pool. NrMrHs r@rQConnectionPool.closenrC)r>r:r;rL)r:strr; int | NonereturnNone)r]r[)r]r0)rRztype[BaseException] | NonerSzBaseException | NonerTzTracebackType | Noner]ztyping.Literal[False]r]r^)rG __module__ __qualname____firstlineno____doc__r7__annotations__queue LifoQueueQueueClsrArIrNrUrQ__static_attributes__rMrCr@r4r4Cs]FJH MP,&%    rCr4c \rSrSr%SrSr\rS\S'S\ SSSSSSS4 SS jjr SS jr SSS jjr SS jr SS jrSSjrSSjrSSjrSSS\ SSSSS4 SSjjrS SjrS!SjrSSSSS\ SSSSSS4 S"SjjrSrg)#HTTPConnectionPoolxaw Thread-safe connection pool for one host. :param host: Host used for this HTTP Connection (e.g. "localhost"), passed into :class:`http.client.HTTPConnection`. :param port: Port used for this HTTP Connection (None is equivalent to 80), passed into :class:`http.client.HTTPConnection`. :param timeout: Socket timeout in seconds for each individual connection. This can be a float or integer, which sets the timeout for the HTTP request, or an instance of :class:`urllib3.util.Timeout` which gives you more fine-grained control over request timeouts. After the constructor has been parsed, this is always a `urllib3.util.Timeout` object. :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. :param retries: Retry configuration to use by default with requests in this pool. :param _proxy: Parsed proxy URL, should not be used directly, instead, see :class:`urllib3.ProxyManager` :param _proxy_headers: A dictionary with proxy headers, should not be used directly, instead, see :class:`urllib3.ProxyManager` :param \**conn_kw: Additional parameters are used to create fresh :class:`urllib3.connection.HTTPConnection`, :class:`urllib3.connection.HTTPSConnection` instances. httpz4type[BaseHTTPConnection] | type[BaseHTTPSConnection] ConnectionClsNrFc  [RXU5 [R"X5 [U[5(d[R "U5nUc[ RnX0lXpl URU5Ul XPl Xl U =(d 0UlXl[!U5Hn URR#S5 M SUlSUlXlUR(aNUR(R+S/5 URUR(S'URUR(S'URn [,R."U[0U 5 g)Nrsocket_optionsproxy proxy_config)r4rAr isinstancer* from_floatr&DEFAULTrretriesrgpoolblockrp proxy_headersrqrangeputnum_connections num_requestsconn_kw setdefaultweakreffinalize_close_pool_connections)r?r:r;rmaxsizerwheadersru_proxy_proxy_headers _proxy_configr}_rvs r@rAHTTPConnectionPool.__init__s D1.'7++((1G ?mmG  8< g8N   +1r)wA IIMM$   ! :: LL # #$4b 9$(JJDLL !+/+<+U=RS- sl[RSURURUR=(d S5 UR "SURURUR RS.URD6nU$)z) Return a fresh :class:`HTTPConnection`. rz(Starting new HTTP connection (%d): %s:%s80)r:r;rrM) r{logdebugr:r;rmrconnect_timeoutr}r?conns r@ _new_connHTTPConnectionPool._new_conns ! 6  II II   !! LL00 ll    rCcSnURc [US5eURRURUS9nU(a@[U5(a0[RSUR5 UR5 U=(d UR5$![a [US5Se[ R a! UR(a [US5SeNf=f)aY 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``. NzPool is closed.)rwrzHPool is empty and a new connection can't be opened due to blocking mode.z Resetting dropped connection: %s)rvrgetrwAttributeErrorreEmptyrr"rrr:rQr)r?rrs r@ _get_connHTTPConnectionPool._get_conns 99 !$(9: : 99==tzz7=CD )$// II8$)) D JJL't~~''! E!$(9: D{{ zz$^   s$B!!AC,+C,cURbURRUSS9 gU(aUR 5 gg![a N%[Raq U(aUR 5 UR (a [US5Se[RSURURR55 Nf=f)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 closed and discarded because we exceeded maxsize. If connections are discarded frequently, then maxsize should be increased. If the pool is closed, then the connection will be closed and discarded. NFrwz>Pool reached maximum size and no more connections are allowed.zLConnection pool is full, discarding connection: %s. Connection pool size: %s) rvrzrreFullrQrwrrwarningr:qsizers r@ _put_connHTTPConnectionPool._put_conn&s 99   d% 0.  JJL -" :: JJL::'X   bIIIIOO% sA CBCCcg)E Called right before a request is made, after the socket is created. NrMrs r@_validate_conn!HTTPConnectionPool._validate_connQrZrCcgrLrMrs r@_prepare_proxy!HTTPConnectionPool._prepare_proxyVs rCcU[LaURR5$[U[5(aUR5$[R "U5$)z:Helper that always returns a :class:`urllib3.util.Timeout`)r(rclonerrr*rs)r?rs r@ _get_timeoutHTTPConnectionPool._get_timeoutZsJ & &<<%%' ' gw ' '==? "%%g. .rCc[U[5(a[XSUS35Ue[US5(a&UR[ ;a[XSUS35Uegg)zAIs the error actually a timeout? Will raise a ReadTimeout or passRead timed out. (read timeout=rEerrnoN)rr SocketTimeoutrhasattrr_blocking_errnos)r?errurl timeout_values r@_raise_timeout!HTTPConnectionPool._raise_timeoutfss c= ) )";M?!L  3 SYY2B%B";M?!L &C rCTc U=RS- slURU5n U R5 [R"U R 5UlURU5 UR+UUUUUU U U S9 U R4nUR6(dUS:Xa[9XSUS35eUUlUR;5nUUlU UlUUl [BRESUR(URFURHUUURJURLURN5 U$![[4a nURXUR S9 eSnAff=f![[[[[[4anUn[!U[[45(a [U5n[!U[[[[45(aHU(aAUR"(a0UR$(d['XR"R(5nUeSnAff=f![,a GN[aHnUR.[.R0:waUR.[.R2:waeSnAGN SnAff=f![[4anURXUS9 eSnAff=f) a Perform a request on a given urllib connection object taken from our pool. :param conn: a connection from one of our connection pools :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :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: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. Pass ``None`` to retry until you receive a response. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param response_conn: Set this to ``None`` if you will handle releasing the connection or set the connection to have the response release it. :param preload_content: If True, the response's body will be preloaded during construction. :param decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param enforce_content_length: Enforce content length checking. Body returned by server must match value of Content-Length header, if present. Otherwise, raise error. rrrrN)bodyrchunkedpreload_contentdecode_contentenforce_content_lengthrrrEz%s://%s:%s "%s %s %s" %s %s)(r|r start_connectr*resolve_default_timeoutrrrrr rOSErrorrr r'rrrrphas_connected_to_proxyrr7requestr r EPROTOTYPE ECONNRESET read_timeout is_closedr getresponseru _connection_poolrrr:r;version_stringstatuslength_remaining)r?rmethodrrrrurr response_connrrr timeout_objenew_erresponses r@ _make_request HTTPConnectionPool._make_requestys}\ Q''0 !!#66{7R7RS   ##D)8  LL /-'=  2#// ~~ q &!? ~QO(DL '')H #, ) KK II II    # # OO  % % w"<0 ##$,,#O           !E!l,<=>>  !3\8LDJJt/J/J)%1B1BCK# H    ww%***qww%:J:J/J  4g&    Al  K  sgE0H7JE1E,,E11E44$H4BH//H47 J J =JJJ>(J99J>c\URcgURSsol[U5 grX)rvr)r?old_pools r@rQHTTPConnectionPool.close.s+ 99  "ii) )rCcURS5(ag[U5tp#pEnU=(d SnUb [XBS9nUR(aU(d[R "U5nO-UR(dU[R "U5:XaSnX$U4UR URUR4:H$)zR Check if the given ``url`` is a member of the same host as this connection pool. /TrlNr9) startswithr.r-r;rrr7r:)r?rr7rr:r;s r@ is_same_hostHTTPConnectionPool.is_same_host:s >>#  %.cN!4!6  "47D 99T!%%f-Dt~'9'9&'AADd# TYY 'JJJrCc  [U5nURnUc URn[U[5(d[R "XVUR S9nU cU n U(a"URU5(d [XU5eURS5(a[[U55nO[UR5nSnU n[URURU5nU(d+UR!5nUR#UR$5 SnSn['X<5n UR)U5nUR+U S9nUR,UlURb*U(a#UR0(aUR3U5 U (dUOSnUR<"UUU4UUUU UUU US.UD6nSnU(dU(aUR[5 SnSnU(aUR]U5 U(d9[^RaS UUU5 URb"UUUUUUU4UU U U U U US .UD6$U=(a WRe5nU(aWRfS:XaSnSn[iU5Rk5nURSXUUS9nURq5 URsU5 [^RuSUU5 URb"UUUU4UUUUU U U U U US. UD6$[wWRRyS55nUR{UURfU5(ajURSXUUS9nURq5 URYU5 [^RuSU5 URb"UUUU4UUUUU U U U U US. UD6$U$![4[6[84a5nUR;UURRUR.S9 eSnAff=f![>a SnSne[@[B[6[D[4[F[H[J4Ga nSnUn[U[4[H45(a [GU5n[U[6[L[@[F[B45(aJU(aCUR(a2URN(d![QUURR5nO'[U[6[B45(a [ES U5nURSXUU[TRV"5S S 9nURY5 UnSnAGNsSnAff=f!U(dU(aUR[5 SnSnU(aUR]U5 ff=f![la' URn(aURq5 eUs$f=f![la' UR|(aURq5 eUs$f=f)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 such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :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: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :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. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :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 bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). 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 ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. N)redirectdefaultrFrr)rrrrrurrrTzConnection aborted.)errorr _stacktracez1Retrying (%r) after connection broken by '%r': %s)r pool_timeout release_connrbody_posrri/GET)rrzRedirecting %s -> %s) rurassert_same_hostrrrrrrrz Retry-Afterz Retry: %s)?r.r7rrrr&from_intrurrrr/r,rr#rprqcopyupdaterxr%rrrrrrr rrrrrr rrrr'rrrr incrementsysexc_infosleeprQrrrurlopenget_redirect_locationrr _prepare_for_method_changerraise_on_redirect drain_connsleep_for_retryrboolris_retryraise_on_status)r?rrrrrurrrrrrrrr response_kw parsed_urldestination_schemerrelease_this_connhttp_tunnel_requiredr clean_exitrrrrrredirect_locationhas_retry_afters r@rHTTPConnectionPool.urlopenPsbs^ '.. ?llG'5))nnWVG  *L D$5$5c$:$:"4g6 6 >>#  ,-C(C)> JJ))+= $llnG NN4-- . %T4e %++G4K>>,>7D&66DLzz%*>4>>''-)5D$M)) $+ /-  H J^ JJLD$(! t$ KKCWcSV <<  ))! /- &%I)G)G)I #%(1LLN !++F(RV+W    !  # #H - II,c3D E<<!   !!1))! /- &x//33MBC   FHOO_ E E !++F(RV+W    ! MM( # IIk3 '<<   !!1))! /- $u%g}=''4::>>( > J %            $ J E!l,<=>>  & !   DJJt/J/J)%1B1BCEG]#;<<%&;UC''5#,,.QRBS(G MMOCI$ N JJLD$(! t$ !R! ,,'')  @! **'')  st0AO4N'+O4 U><V2'O1<0O,,O11O44=T;1C?T60T>6T;;T>>=U;>.V/.V/2.W#"W#) rwr}r{r|rvrprqrxrur)r:r[r;r\r_TYPE_TIMEOUT | Nonerintrwrrtyping.Mapping[str, str] | NoneruRetry | bool | int | Noner Url | NonerrrzProxyConfig | Noner} typing.Any)r]r1rL)rz float | Noner]r1)rBaseHTTPConnection | Noner]r^rr1r]r^)r _TYPE_TIMEOUTr]r*)rz&BaseSSLError | OSError | SocketTimeoutrr[rrr]r^)rr1rr[rr[r_TYPE_BODY | Nonerrruz Retry | Nonerrrrrrrrrrrrr]r!r_)rr[r]r) rr[rr[rrrrrurrrrrrrrr\rz bool | Nonerrrz_TYPE_BODY_POSITION | Nonerrrrrrr]r!)rGr`rarbrcr7rrmrdr(rArrrrrrrrrQrrrhrMrCr@rjrjxs1fFJXMGX  (837-1!:>,0;>;>;>& ;>  ;>  ;>1;>+;>;>8;>*;>;>z($(L)V   / 3,   0#'37 $!137 $#'+s ss s  s 1 ssss1sss!%s sj *K4#'37-1!%!1#'$(/3 $#ppp p 1 p + pppp!p"pp-ppp "!p" #pprCrjc^\rSrSr%SrSr\rS\S'S\ SSSSSSSSSSSSSSSSS4SU4S jjjr SS jr SS jr SU4S jjr S rU=r$)HTTPSConnectionPoolia Same as :class:`.HTTPConnectionPool`, but HTTPS. :class:`.HTTPSConnection` uses one of ``assert_fingerprint``, ``assert_hostname`` and ``host`` in this order to verify connections. If ``assert_hostname`` is False, no verification is done. The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``, ``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl` is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade the connection socket into an SSL socket. httpsztype[BaseHTTPSConnection]rmNrFc >[TU]"UUUUUUUUU 4 0UD6 XlXlXlXlXlUUlXlUUl UUl UUl UUl grL) superrAkey_file cert_file cert_reqs key_passwordca_certs ca_cert_dir ssl_versionssl_minimum_versionssl_maximum_versionassert_hostnameassert_fingerprint)r?r:r;rrrwrrurrrrrrrrrrrrrr} __class__s r@rAHTTPSConnectionPool.__init__s0            ! ""( &&#6 #6 ."4rCcUR(aURRS:XaSnOSnURUURURUR S9 UR 5 g)z5Establishes a tunnel connection through HTTP CONNECT.r rl)r7r:r;rN)rpr7 set_tunnelr>r;rxconnect)r?r tunnel_schemes r@r"HTTPSConnectionPool._prepare_proxys\ ::$**++w6#M"M  ""&&  rCc2U=RS- sl[RSURURUR=(d S5 UR (aUR [ La [S5eURnURnURbCURRb,URRnURRnUR "SUUURRURURURURURUR UR"UR$UR&UR(UR*S.UR,D6$)z< Return a fresh :class:`urllib3.connection.HTTPConnection`. rz)Starting new HTTPS connection (%d): %s:%s443zCCan't connect to HTTPS URL because the SSL module is not available.)r:r;rrrrrrrrrrrrrM)r{rrr:r;rmr ImportErrorrprrrrrrrrrrrrrr})r? actual_host actual_ports r@rHTTPSConnectionPool._new_connsA ! 7  II II   !!T%7%7?%JU  99 ii :: !djjoo&A**//K**//K!! LL00nn]]**nn]](( 00#66(( $ 8 8 $ 8 8 ll  rCc>[TU]U5 UR(aUR5 UR(d<UR (d*[ R"SURS3[5 ggg)rz0Unverified HTTPS request is being made to host 'z'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warningsN) r rrr is_verifiedproxy_is_verifiedwarningswarnr:r)r?rrs r@r"HTTPSConnectionPool._validate_conn=sf t$ >> LLN(>(> MMFtyykR$$ ' )?rC) rrrrrrrrrrr),r:r[r;r\rrrrrwrrrrurrrrrrr6rr6rint | str | Nonerr6rr6rr,rssl.TLSVersion | Nonerr-rz"str | typing.Literal[False] | Nonerr6rr6r}rr]r^)rrr]r^)r]r2r)rGr`rarbrcr7rrmrdr(rArrrrh __classcell__)rs@r@r r sO F/>M,>  (837-1!:># $&*#'#(,5959>B)-"&+/5/5/5& /5  /5  /51/5+/5/58/5/5/5$/5!/5/5 &!/5"3#/5$3%/5&<'/5(')/5* +/5,-/5. //5/5b ' RrCr c [U5tp#pEnU=(d SnU=(d [R"US5nUS:Xa[U4SU0UD6$[ U4SU0UD6$)aL 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', '/') rlPr r;)r.rrr rj)rkwr7rr:r;s r@connection_from_urlr2Tsg(!*#FtA  vF  1>%%fb1D "49d9b99!$8T8R88rCcgrLrMr:r7s r@r-r-qs=@rCcgrLrMr4s r@r-r-us;>rCc[X5nU(a1URS5(aURS5(aUSSnU$)z7 Normalize hosts for comparisons and use with sockets. []r)r<rendswithr4s r@r-r-ys? $ 'D $$s););Abz KrCcj[URURURUS9R$)zZReturns the URL from a given connection pool. This is mainly used for testing and logging.)r7r:r;path)r+r7r:r;r)rvr<s r@_url_from_poolr=s' dkk   M Q QQrCcURSS9nU(aUR5 M(![Ra gf=f)z2Drains a queue of connections and closes each one.FrN)rrQrer)rvrs r@rrsC 88%8(D  ;;   s)+AA)rr[r1rr]rj)r:r^r7r6r]r^)r:r[r7r6r]r[)r:r6r7r6r]r6rL)rvz(HTTPConnectionPool | HTTPSConnectionPoolr<r6r]r[)rvzqueue.LifoQueue[typing.Any]r]r^)[ __future__rrloggingrertypingr)rsocketrrtypesr_base_connectionr _collectionsr _request_methodsr connectionr r r rrrrrr exceptionsrrrrrrrrrrrrr rr!util.connectionr" util.proxyr# util.requestr$r% util.retryr&util.ssl_match_hostnamer' util.timeoutr(r)r*util.urlr+r,r-r<r. util.utilr/ TYPE_CHECKINGssltyping_extensionsr0r1r2 getLoggerrGrUnionfloatrr4EAGAIN EWOULDBLOCKrrjr r2overloadr=rrMrCr@rZsU"  +((,   9'27@5BB)7 &I ! We]D@A . . dLL%"3"34H H VN,Nb9:@@>>&HLR 2R:DRR rC