§ <ˆjѧãóê—ddlmZddlZddlZddlZddlZddlZddlZddlZddl m Z ddl m Z ddlmZddlmZddlmZmZmZmZmZmZmZmZdd lmZdd lmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)dd l*m+Z+dd l,m-Z-dd l.m/Z/ddl0m1Z1m2Z2ddl3m4Z4ddl5m6Z6ddl7m8Z8m9Z9m:Z:ddl;mZ?ddl;m@Z@ddlAmBZBejCrddlDZDddlEmFZFddlmGZGmHZHejIeJ¦«ZKejLe:eMe9dfZNejOd¦«ZPGd„d¦«ZQejRejShZTGd„deQe¦«ZUGd„deU¦«ZVd2d$„ZWejXd3d)„¦«Z>ejXd4d*„¦«Z>d5d+„Z> d6d7d/„ZYd8d1„ZZdS)9é)Ú annotationsN©Útimeout)Ú TracebackTypeé)Ú _TYPE_BODY)ÚRequestMethods)Ú BaseSSLErrorÚBrokenPipeErrorÚDummyConnectionÚHTTPConnectionÚ HTTPExceptionÚHTTPSConnectionÚ ProxyConfigÚ_wrap_proxy_error)Úport_by_scheme) ÚClosedPoolErrorÚEmptyPoolErrorÚ FullPoolErrorÚHostChangedErrorÚInsecureRequestWarningÚLocationValueErrorÚ MaxRetryErrorÚNewConnectionErrorÚ ProtocolErrorÚ ProxyErrorÚReadTimeoutErrorÚSSLErrorÚ TimeoutError)ÚBaseHTTPResponse)Úis_connection_dropped)Úconnection_requires_http_tunnel)Ú_TYPE_BODY_POSITIONÚset_file_position)ÚRetry)ÚCertificateError)Ú_DEFAULT_TIMEOUTÚ _TYPE_DEFAULTÚTimeout)ÚUrlÚ_encode_target)Ú_normalize_host)Ú parse_url)Úto_str)ÚLiteral)ÚBaseHTTPConnectionÚBaseHTTPSConnectionÚ_SelfTcóZ—eZdZUdZdZded<ejZddd „Z dd „Z dd„Z dd„Z dd„Z dS)ÚConnectionPoola; 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 | NoneÚschemeÚhostÚstrÚportú int | NoneÚreturnÚNonecóÆ—|std¦«‚t||j¬¦«|_||_t ||j¬¦« ¦«|_dS)NzNo host specified.©r6)rr,r6r7r9Únormalize_hostÚlowerÚ _tunnel_host)Úselfr7r9s úM/opt/cloudlinux/venv/lib64/python3.11/site-packages/urllib3/connectionpool.pyÚ__init__zConnectionPool.__init__Rsa€Øð ;Ý$Ð%9Ñ:Ô:Ð :å# D°´Ð=Ñ=Ô=ˆŒ ؈Œ õ +¨4¸¼ ÐDÑDÔD×JÒJÑLÔLˆÔÐÐócóP—t|¦«j›d|j›d|j›d�S)Nz(host=z, port=ú))ÚtypeÚ__name__r7r9©rBs rCÚ__str__zConnectionPool.__str___s.€Ý�t‘*”*Ô%ÐOÐO¨T¬YÐOÐOÀÄÐOÐOÐOÐOrErBr2có—|S©N©rJs rCÚ __enter__zConnectionPool.__enter__bs€Øˆ rEÚexc_typeútype[BaseException] | NoneÚexc_valúBaseException | NoneÚexc_tbúTracebackType | NoneúLiteral[False]có.—| ¦«dS)NF)Úclose)rBrPrRrTs rCÚ__exit__zConnectionPool.__exit__es€ð � Š ‰ Œ ˆ àˆurEcó—dS©zD Close all pooled connections and disable the pool. NrNrJs rCrXzConnectionPool.closeoó€€€rErM)r7r8r9r:r;r<)r;r8)rBr2r;r2)rPrQrRrSrTrUr;rV©r;r<)rIÚ __module__Ú __qualname__Ú__doc__r6Ú__annotations__ÚqueueÚ LifoQueueÚQueueClsrDrKrOrYrXrNrErCr4r4Ds¬€€€€€€ððð€FÐÐÐÑØŒ€Hð Mð Mð Mð Mð MðPðPðPðPððððððððð ð ð ð ð ð rEr4c óÊ—eZdZUdZdZeZded<dedddddddf dHd„Z dId „Z dJdKd"„Z dLd&„Z dMd'„Z dMd(„ZdNd+„ZdOd0„Zdddeddd1d1d1f dPd<„ZdQd=„ZdRd>„Zdddd1d1eddddd1d1f dSdG„ZdS)TÚHTTPConnectionPoola 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]Ú ConnectionClsNrFr7r8r9r:rú_TYPE_TIMEOUT | NoneÚmaxsizeÚintÚblockÚboolÚheadersútyping.Mapping[str, str] | NoneÚretriesúRetry | bool | int | NoneÚ_proxyú Url | NoneÚ_proxy_headersÚ _proxy_configúProxyConfig | NoneÚconn_kwú typing.Anyc  ó¨—t |||¦«tj||¦«t|t¦«st j|¦«}|€ t j}||_||_ |  |¦«|_ ||_ ||_ | pi|_| |_t!|¦«D]} |j  d¦«Œd|_d|_| |_|j r9|j dg¦«|j |jd<|j|jd<|j } t-j|t0| ¦«dS)NrÚsocket_optionsÚproxyÚ proxy_config)r4rDr Ú isinstancer)Ú from_floatr%ÚDEFAULTrrprdÚpoolrlr{Ú proxy_headersr|ÚrangeÚputÚnum_connectionsÚ num_requestsrwÚ setdefaultÚweakrefÚfinalizeÚ_close_pool_connections)rBr7r9rrjrlrnrprrrtrurwÚ_r€s rCrDzHTTPConnectionPool.__init__²sQ€õ ×Ò  d¨DÑ1Ô1Ð1ÝÔ  gÑ.Ô.Ð.å˜'¥7Ñ+Ô+ð 2ÝÔ(¨Ñ1Ô1ˆGà ˆ?Ý”mˆGàˆŒ ؈Œ à8<¿ º ÀgÑ8NÔ8NˆŒ ؈Œ àˆŒ Ø+Ð1¨rˆÔØ)ˆÔõ�w‘”ð ð ˆAØ ŒI�MŠM˜$Ñ Ô Ð Ð ð !ˆÔØˆÔØˆŒ à Œ:ð =ð ŒL× #Ò #Ð$4°bÑ 9Ô 9Ð 9à$(¤JˆDŒL˜Ñ !Ø+/Ô+<ˆDŒL˜Ñ (ð Œyˆõ Ô˜Õ6¸Ñ=Ô=Ð=Ð=Ð=rEr;r0cóÖ—|xjdz c_t d|j|j|jpd¦«|jd|j|j|jjdœ|j¤Ž}|S)z9 Return a fresh :class:`HTTPConnection`. rz(Starting new HTTP connection (%d): %s:%sÚ80)r7r9rrN) r„ÚlogÚdebugr7r9rhrÚconnect_timeoutrw©rBÚconns rCÚ _new_connzHTTPConnectionPool._new_connïs‹€ð ÐÔ Ñ!ÐÔÝ � Š Ø 6Ø Ô Ø ŒIØ ŒIÐ ˜ñ  ô ð ð"ˆtÔ!ð Ø”Ø”Ø”LÔ0ð ð ðŒlð  ð ˆð ˆ rEú float | Nonecó¾—d}|j€t|d¦«‚ |j |j|¬¦«}nG#t$rt|d¦«d‚t j$r|jrt|d¦«d‚YnwxYw|rCt|¦«r4t  d|j ¦«|  ¦«|p|  ¦«S)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``. NzPool is closed.)rlrzHPool is empty and a new connection can't be opened due to blocking mode.z Resetting dropped connection: %s)r€rÚgetrlÚAttributeErrorrbÚEmptyrr!r�rŽr7rXr’)rBrr‘s rCÚ _get_connzHTTPConnectionPool._get_conns€ðˆà Œ9Ð Ý! $Ð(9Ñ:Ô:Ð :ð Ø”9—=’= t¤z¸7�=ÑCÔCˆDˆDøåð Eð Eð EÝ! $Ð(9Ñ:Ô:ÀÐ DåŒ{ð ð ð ØŒzð Ý$ØØ^ñôððð ˆDð  øøøð ð Õ)¨$Ñ/Ô/ð Ý �IŠIÐ8¸$¼)Ñ DÔ DÐ DØ �JŠJ‰LŒLˆLàÐ'�t—~’~Ñ'Ô'Ð's›!=½ABÂBr‘úBaseHTTPConnection | Noner<cóŽ—|j�¥ |j |d¬¦«dS#t$rYnztj$ri|r| ¦«|jrt|d¦«d‚t  d|j |j  ¦«¦«YnwxYw|r| ¦«dSdS)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. NF©rlz>Pool reached maximum size and no more connections are allowed.zLConnection pool is full, discarding connection: %s. Connection pool size: %s) r€rƒr–rbÚFullrXrlrr�Úwarningr7Úqsizer�s rCÚ _put_connzHTTPConnectionPool._put_conn)sü€ð Œ9Ð ð Ø” — ’ ˜d¨%� Ñ0Ô0Ð0Ø�øÝ!ð ð ð à�Ý”:ð ð ð àð!Ø—J’J‘L”L�Là”:ð å'ØØXñôð ð õ — ’ ØbØ”IØ”I—O’OÑ%Ô%ñôðððð øøøð& ð Ø �JŠJ‰LŒLˆLˆLˆLð ð s‰'§ B*³A4B*Â)B*có—dS)úU Called right before a request is made, after the socket is created. NrNr�s rCÚ_validate_connz!HTTPConnectionPool._validate_connTr\rEcó—dSrMrNr�s rCÚ_prepare_proxyz!HTTPConnectionPool._prepare_proxyYs€à ˆrEÚ _TYPE_TIMEOUTr)cóÀ—|tur|j ¦«St|t¦«r| ¦«St j|¦«S)z:Helper that always returns a :class:`urllib3.util.Timeout`)r'rÚcloner}r)r~)rBrs rCÚ _get_timeoutzHTTPConnectionPool._get_timeout]sU€à Õ&Ð &Ð &Ø”<×%Ò%Ñ'Ô'Ð 'å �g�wÑ 'Ô 'ð /Ø—=’=‘?”?Ð "õÔ% gÑ.Ô.Ð .rEÚerrú&BaseSSLError | OSError | SocketTimeoutÚurlÚ timeout_valuecóÈ—t|t¦«rt||d|›d�¦«|‚t|d¦«r$|jt vrt||d|›d�¦«|‚dSdS)zAIs the error actually a timeout? Will raise a ReadTimeout or passúRead timed out. (read timeout=rGÚerrnoN)r}Ú SocketTimeoutrÚhasattrr¯Ú_blocking_errnos)rBr©r«r¬s rCÚ_raise_timeoutz!HTTPConnectionPool._raise_timeoutis—€õ �c�=Ñ )Ô )ð Ý"Ø�cÐL¸MÐLÐLÐLñôàð õ �3˜Ñ Ô ð  S¤YÕ2BÐ%BÐ%BÝ"Ø�cÐL¸MÐLÐLÐLñôàð ð ð Ð%BÐ%BrETÚmethodÚbodyú_TYPE_BODY | Noneú Retry | NoneÚchunkedÚ response_connÚpreload_contentÚdecode_contentÚenforce_content_lengthr c ó—|xjdz c_| |¦«} |  ¦«tj| j¦«|_ | |¦«n7#ttf$r#}|  |||j¬¦«‚d}~wwxYwn²#ttttttf$r†}|}t!|ttf¦«rt|¦«}t!|ttttf¦«r*|r(|jr!|jst'||jj¦«}|‚d}~wwxYw | |||||| | | ¬¦«n8#t,$rYn,t$r }|jt.jkr‚Yd}~nd}~wwxYw| j}|js"|dkrt7||d|›d�¦«‚||_ | ¦«}n2#ttf$r}|  |||¬¦«‚d}~wwxYw||_| |_||_t@ !d|j|j"|j#|||j$|j%|j&¦ « |S) a8 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. r©r©r«r¬N)rµrnr¸rºr»r¼rr®rGz%s://%s:%s "%s %s %s" %s %s)'r…r¨Ú start_connectr)Úresolve_default_timeoutr�rr¢r°r r³ÚOSErrorrrr&rr}r{Úhas_connected_to_proxyrr6Úrequestr r¯Ú EPROTOTYPEÚ read_timeoutÚ is_closedrÚ getresponserpÚ _connectionÚ_poolr�rŽr7r9Ú _http_vsn_strÚstatusÚlength_remaining)rBr‘r´r«rµrnrprr¸r¹rºr»r¼Ú timeout_objÚeÚnew_erÅÚresponses rCÚ _make_requestz HTTPConnectionPool._make_request|s€ð\ ÐÔ˜QÑÐÔà×'Ò'¨Ñ0Ô0ˆ Ø×!Ò!Ñ#Ô#Ð#ÝÔ6°{Ô7RÑSÔSˆŒ ð ð Ø×#Ò# DÑ)Ô)Ð)Ð)øÝ!¥<Ð0ð ð ð Ø×#Ò#¨¨sÀ$Ä,Ð#ÑOÔOÐOØøøøøð øøøð*øõ Ý Ý Ý Ý Ý ð  ð ð ð ð !ˆEݘ!�lÕ,<Ð=Ñ>Ô>ð $Ý  ™ œ �õØ�Õ!3µ\Å8ÐLñôð Dàð Dà œJð Dà/3Ô/Jð Dõ*¨%°´Ô1BÑCÔC�؈Køøøøð# øøøð* Ø �LŠLØØØØØØ /Ø-Ø'=ð ñ ô ð ð øõð ð ð Ø ˆDÝð ð ð ðŒw�%Ô*Ò*Ð*Øð+Ð*Ð*Ð*Ð*øøøøð  øøøð#Ô/ˆ àŒ~ð (ð ˜qÒ Ð Ý&ؘ#ÐOÀ ÐOÐOÐOñôðð(ˆDŒLð Ø×'Ò'Ñ)Ô)ˆHˆHøÝ�gÐ&ð ð ð Ø × Ò  A¨3¸lÐ Ñ KÔ KÐ KØ øøøøð øøøð #ˆÔØ,ˆÔ؈Œå � Š Ø )Ø ŒKØ ŒIØ ŒIØ Ø à Ô Ø ŒOØ Ô %ñ ô ð ðˆsmÁA0Á/B(Á0B$ÂBÂB$Â$B(Â()EÃBEÅEÅE9Å9 F.Æ F.ÆF)Æ)F.Ç"G7Ç7H&ÈH!È!H&cóT—|j€dS|jdc}|_t|¦«dSr[)r€r‰)rBÚold_pools rCrXzHTTPConnectionPool.close1s7€ð Œ9Ð Ø ˆFà"œi¨Ðˆ�$”)õ  Ñ)Ô)Ð)Ð)Ð)rEcó:—| d¦«rdSt|¦«^}}}}}|pd}|�t||¬¦«}|jr|st j|¦«}n!|js|t j|¦«krd}|||f|j|j|jfkS)zj Check if the given ``url`` is a member of the same host as this connection pool. ú/TrgNr>)Ú startswithr-r,r9rr•r6r7)rBr«r6rŠr7r9s rCÚ is_same_hostzHTTPConnectionPool.is_same_host=s¿€ð �>Š>˜#Ñ Ô ð Ø�4õ%.¨c¡N¤NÐ!ˆ��4˜ ØÐ!˜6ˆØ Ð Ý" 4°Ð7Ñ7Ô7ˆDð Œ9ð ˜Tð Ý!Ô% fÑ-Ô-ˆDˆDØ”ð ˜t¥~Ô'9¸&Ñ'AÔ'AÒAÐA؈Dà˜˜dÐ#¨¬ °T´YÀÄ Ð'JÒJÐJrEÚredirectÚassert_same_hostÚ pool_timeoutÚ release_connú bool | NoneÚbody_posú_TYPE_BODY_POSITION | NoneÚ response_kwc ó@ —t|¦«}|j}|€|j}t|t¦«st j|||j¬¦«}| €| } |r&| |¦«st|||¦«‚|  d¦«rtt|¦«¦«}nt|j ¦«}d}| }t|j|j|¦«}|s.| ¦«}| |j¦«d}d}t'|| ¦«} | |¦«}| | ¬¦«}|j|_|j�g|re|jr^ | |¦«nG#t4t6t8f$r-}| ||jj |j¬¦«‚d}~wwxYw| s|nd}|j|||f|||| ||| |dœ|¤Ž}d}�nL#t>$rd}d}‚t@tBt6tDt4tFtHtJf$�r}d}|}t|t4tHf¦«rtG|¦«}t|t6tLt@tFtBf¦«r+|r)|jr"|j'stQ||jj¦«}n,t|t6tBf¦«rtEd |¦«}| )||||tUj+¦«d ¬ ¦«}| ,¦«|}Yd}~nd}~wwxYw|s|r| -¦«d}d}|r| .|¦«n9#|s|r| -¦«d}d}|r| .|¦«wwxYw|s9t^ 0d |||¦«|j1|||||||f|| | | | | |d œ|¤ŽS|o| 2¦«}|r·|j3dkrd} | )||||¬¦«}n.#th$r!|j5r| 6¦«‚|cYSwxYw| 6¦«| 7|¦«t^ 8d||¦«|j1||||f||||| | | | | |dœ |¤ŽSts|j :d¦«¦«}| ;||j3|¦«r© | )||||¬¦«}n.#th$r!|j<r| 6¦«‚|cYSwxYw| 6¦«| ,|¦«t^ 8d|¦«|j1||||f||||| | | | | |dœ |¤ŽS|S)ay 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. 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 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)rØÚdefaultrÕFrr¾)rrµrnr¸rpr¹rºr»TzConnection aborted.é)ÚerrorrÉÚ _stacktracez1Retrying (%r) after connection broken by '%r': %s)rrÚrÛr¸rÝrºr»i/ÚGET)rÐrÉzRedirecting %s -> %s) rprØrÙrrÚrÛr¸rÝrºr»z Retry-Afterz Retry: %s)=r-r6rnr}r%Úfrom_intrpr×rrÖr.r+r«r"r{r|ÚcopyÚupdater�r$r¨r˜r�rrÆr¤r rÁr°r³rÑrrrrrr&rrrÂrÚ incrementÚsysÚexc_infoÚsleeprXrŸr�r�ÚurlopenÚget_redirect_locationrËrÚraise_on_redirectÚ drain_connÚsleep_for_retryrŽrmr•Úis_retryÚraise_on_status)rBr´r«rµrnrprØrÙrrÚrÛr¸rÝrºr»rßÚ parsed_urlÚdestination_schemer‘Úrelease_this_connÚhttp_tunnel_requiredr©Ú clean_exitrÍrÎr¹rÐrÏÚredirect_locationÚhas_retry_afters rCrízHTTPConnectionPool.urlopenSsY€õb˜s‘^”^ˆ Ø'Ô.Ðà ˆ?Ø”lˆGå˜'¥5Ñ)Ô)ð WÝ”n W°xÈÌÐVÑVÔVˆGà Ð Ø*ˆLð ð 7 D×$5Ò$5°cÑ$:Ô$:ð 7Ý" 4¨¨gÑ6Ô6Ð 6ð �>Š>˜#Ñ Ô ð )Ý�¨Ñ,Ô,Ñ-Ô-ˆCˆC嘜Ñ(Ô(ˆCàˆð)Ðå>Ø ŒJ˜Ô)Ð+=ñ ô Ðð$ð /Ø—l’l‘n”nˆGØ �NŠN˜4Ô-Ñ .Ô .Ð .ðˆðˆ õ% T¨8Ñ4Ô4ˆðe %à×+Ò+¨GÑ4Ô4ˆKØ—>’>¨,�>Ñ7Ô7ˆDà&Ô6ˆDŒLðŒzÐ%Ð*>Ð%À4Ä>Ð%ðØ×'Ò'¨Ñ-Ô-Ð-Ð-øÝ$¥g­}Ð=ðððØ×'Ò'Ø 4¤:¤>ÀÄð(ñôððøøøøð øøøð)5Ð>˜D˜D¸$ˆMð*�tÔ)ØØØð ð$ØØØØØ+Ø /Ø-ð ð ðð ð ˆHð ˆJ‰Jøåð ð ð àˆJØ %Ð Ø õ Ý Ý Ý Ý Ý Ý Ý ð  ð$ ñ$ ð$ ðˆJØ ˆEݘ!�lÕ,<Ð=Ñ>Ô>ð $Ý  ™ œ �ÝØåÝ&Ý ÝÝ!ð ñ ô ð Dðð Dð!œJð Dð04Ô/Jð Dõ*¨%°´Ô1BÑCÔC��ݘE¥G­]Ð#;Ñ<Ô<ð DÝ%Ð&;¸UÑCÔC�à×'Ò'ؘ 5°Å#Ä,Á.Ä.ÐQRÔBSð(ñôˆGð �MŠM‰OŒOˆOðˆCˆCˆCˆCˆCˆCøøøøðI$ øøøðNð )ð ð Ø—J’J‘L”L�LØ�DØ$(Ð!à ð %ð—’˜tÑ$Ô$Ð$øøðð )ð ð Ø—J’J‘L”L�LØ�DØ$(Ð!à ð %ð—’˜tÑ$Ô$Ð$Ð$ð  %øøøð ð å �KŠKØCÀWÈcÐSVñ ô ð ð �4”<ØØØØØØØ ðð Ø)Ø)ØØ!Ø /Ø-ðððððð ð&%ÐI¨×)GÒ)GÑ)IÔ)IÐØ ð ØŒ #Ò%Ð%Ø�ð Ø!×+Ò+¨F°CÀ(ÐRVÐ+ÑWÔW��øÝ ð ð ð ØÔ,ðØ×'Ò'Ñ)Ô)Ð)ØØ���ð  øøøð × Ò Ñ !Ô !Ð !Ø × #Ò # HÑ -Ô -Ð -Ý �IŠIÐ,¨cÐ3DÑ EÔ EÐ EØ�4”<ØØ!ØØð ð  Ø!Ø!1ØØ)Ø)ØØ!Ø /Ø-ðððððð õ&˜xÔ/×3Ò3°MÑBÔBÑCÔCˆØ × Ò ˜F H¤O°_Ñ EÔ Eð ð Ø!×+Ò+¨F°CÀ(ÐRVÐ+ÑWÔW��øÝ ð ð ð ØÔ*ðØ×'Ò'Ñ)Ô)Ð)ØØ���ð  øøøð × Ò Ñ !Ô !Ð !Ø �MŠM˜(Ñ #Ô #Ð #Ý �IŠI�k 3Ñ 'Ô 'Ð 'Ø�4”<ØØØØð ð  Ø!Ø!1ØØ)Ø)ØØ!Ø /Ø-ðððððð ð$ˆs{Ä'AG/Å/FÆG/ÆG Æ(GÇG Ç $G/Ç-M/Ç/AL8È3C;L3Ì.M/Ì3L8Ì8M/Í/6N%Ð P#Ð#(QÑ QÓ6TÔ(T;Ô:T;)r7r8r9r:rrirjrkrlrmrnrorprqrrrsrtrorurvrwrx)r;r0rM)rr“r;r0)r‘r™r;r<©r‘r0r;r<)rr¥r;r))r©rªr«r8r¬rir;r<)r‘r0r´r8r«r8rµr¶rnrorpr·rr¥r¸rmr¹r™rºrmr»rmr¼rmr;r r])r«r8r;rm) r´r8r«r8rµr¶rnrorprqrØrmrÙrmrr¥rÚr:rÛrÜr¸rmrÝrÞrºrmr»rmrßrxr;r )rIr^r_r`r6r rhrar'rDr’r˜rŸr¢r¤r¨r³rÑrXr×rírNrErCrfrfys¾€€€€€€ð1ð1ðf€Fð ððððñð Ø(8ØØØ37Ø-1Ø!Ø:>Ø,0ð;>ð;>ð;>ð;>ð;>ðzðððð($(ð$(ð$(ð$(ð$(ðL)ð)ð)ð)ðV ð ð ð ð  ð ð ð ð /ð /ð /ð /ððððð0#'Ø37Ø $Ø!1ØØ37Ø $Ø#Ø'+ðsðsðsðsðsðj *ð *ð *ð *ðKðKðKðKð4#'Ø37Ø-1ØØ!%Ø!1Ø#'Ø$(ØØ/3Ø $Ø#ðlðlðlðlðlðlðlrErfcó|‡—eZdZUdZdZeZded<dedddddddddddddddddfd4ˆfd,„ Z d5d/„Z d6d1„Z d7ˆfd3„ Z ˆxZ S)8ÚHTTPSConnectionPoola 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]rhNrFr7r8r9r:rrirjrkrlrmrnrorprqrrrsrtÚkey_filer5Ú cert_fileÚ cert_reqsúint | str | NoneÚ key_passwordÚca_certsÚ ssl_versionÚssl_minimum_versionússl.TLSVersion | NoneÚssl_maximum_versionÚassert_hostnameústr | Literal[False] | NoneÚassert_fingerprintÚ ca_cert_dirrwrxr;r<c óæ•—t¦«j||||||||| f i|¤Ž| |_| |_| |_| |_||_||_||_||_ ||_ ||_ ||_ dSrM) ÚsuperrDrÿrrrrr rrrr r )rBr7r9rrjrlrnrprrrtrÿrrrrrrrr r r rwÚ __class__s €rCrDzHTTPSConnectionPool.__init__Ós¦ø€ð0 �‰ŒÔØ Ø Ø Ø Ø Ø Ø Ø Ø ð ð ðð ð ð ð!ˆŒ Ø"ˆŒØ"ˆŒØ(ˆÔØ ˆŒ Ø&ˆÔØ&ˆÔØ#6ˆÔ Ø#6ˆÔ Ø.ˆÔØ"4ˆÔÐÐrEr‘rcó¶—|jr|jjdkrd}nd}| ||j|j|j¬¦«| ¦«dS)z5Establishes a tunnel connection through HTTP CONNECT.rþrg)r6r7r9rnN)r{r6Ú set_tunnelrAr9r�Úconnect)rBr‘Ú tunnel_schemes rCr¤z"HTTPSConnectionPool._prepare_proxysi€à Œ:ð #˜$œ*Ô+¨wÒ6Ð6Ø#ˆMˆMà"ˆMà �ŠØ ØÔ"Ø”ØÔ&ð ñ ô ð ð � Š ‰ŒˆˆˆrEr1cóü—|xjdz c_t d|j|j|jpd¦«|jr|jt urtd¦«‚|j}|j}|j�$|jj�|jj}|jj}|jd|||j j |j |j |j |j|j|j|j|j|j|j|jdœ|j¤ŽS)zL Return a fresh :class:`urllib3.connection.HTTPConnection`. rz)Starting new HTTPS connection (%d): %s:%sÚ443zCCan't connect to HTTPS URL because the SSL module is not available.N)r7r9rrrÿrrrr r r rrrrN)r„r�rŽr7r9rhr Ú ImportErrorr{rr�rrÿrrrr r r rrrrw)rBÚ actual_hostÚ actual_ports rCr’zHTTPSConnectionPool._new_conns!€ð ÐÔ Ñ!ÐÔÝ � Š Ø 7Ø Ô Ø ŒIØ ŒIÐ ˜ñ  ô ð ðÔ!ð  TÔ%7½?Ð%JÐ%JÝØUñôð ð œ9ˆ Ø”iˆ Ø Œ:Ð ! d¤j¤oÐ&AØœ*œ/ˆKØœ*œ/ˆKà!ˆtÔ!ð ØØØ”LÔ0Ø”nØ”]ØÔ*Ø”nØ”]ØÔ(Ø Ô0Ø#Ô6ØÔ(Ø $Ô 8Ø $Ô 8ð ð ðŒlð ð ð rEr0cóØ•—t¦« |¦«|jr| ¦«|js%t jd|j›d�t¦«dSdS)r¡z0Unverified 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) rr¢rÆrÚ is_verifiedÚwarningsÚwarnr7r)rBr‘rs €rCr¢z"HTTPSConnectionPool._validate_conn<s†ø€õ ‰Œ×Ò˜tÑ$Ô$Ð$ð Œ>ð Ø �LŠL‰NŒNˆNàÔð Ý ŒMð$ÀtÄyð$ð$ð$õ 'ñ ô ð ð ð ð ð rE),r7r8r9r:rrirjrkrlrmrnrorprqrrrsrtrorÿr5rr5rrrr5rr5rrrrrrr r r r5r r5rwrxr;r<)r‘rr;r<)r;r1rû)rIr^r_r`r6rrhrar'rDr¤r’r¢Ú __classcell__)rs@rCrýrýÂséø€€€€€€ð ð ð€FØ/>€MÐ>Ð>Ð>Ñ>ð  Ø(8ØØØ37Ø-1Ø!Ø:>Ø#Ø $Ø&*Ø#'Ø#Ø(,Ø59Ø59Ø7;Ø)-Ø"&ð+/5ð/5ð/5ð/5ð/5ð/5ð/5ðb ð ð ð ð' ð' ð' ð' ðRðððððððððrErýr«r8Úkwrxr;c ó¨—t|¦«^}}}}}|pd}|ptj|d¦«}|dkrt|fd|i|¤ŽSt |fd|i|¤ŽS)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', '/') rgéPrþr9)r-rr•rýrf)r«rr6rŠr7r9s rCÚconnection_from_urlr!Rs|€õ(!*¨#¡¤Ð€FˆAˆt�T˜AØ Ð �v€FØ Ð 1•>Ô% f¨bÑ1Ô1€DØ �ÒÐÝ" 4Ð9Ð9¨dÐ9°bÐ9Ð9Ð9å! $Ð8Ð8¨TÐ8°RÐ8Ð8Ð8rEr7r<r6r5có—dSrMrN©r7r6s rCr,r,oó€à€CrEcó—dSrMrNr#s rCr,r,tr$rEcó’—t||¦«}|r4| d¦«r| d¦«r |dd…}|S)z? Normalize hosts for comparisons and use with sockets. ú[ú]réÿÿÿÿ)r?rÖÚendswithr#s rCr,r,ysU€õ ˜$ Ñ 'Ô '€Dð ð�—’ Ñ$Ô$𨯪°sÑ);Ô);ðØ�A�b�DŒzˆØ €KrEr€ú(HTTPConnectionPool | HTTPSConnectionPoolÚpathcóP—t|j|j|j|¬¦«jS)zZReturns the URL from a given connection pool. This is mainly used for testing and logging.)r6r7r9r,)r*r6r7r9r«)r€r,s rCÚ_url_from_poolr.‹s$€õ �d”k¨¬ ¸¼ ÈÐ MÑ MÔ MÔ QÐQrEúqueue.LifoQueue[typing.Any]cóŒ— | d¬¦«}|r| ¦«Œ-#tj$rYdSwxYw)z2Drains a queue of connections and closes each one.TFr›N)r•rXrbr—)r€r‘s rCr‰r‰’s_€ð ð Ø—8’8 %�8Ñ(Ô(ˆDØð Ø— ’ ‘ ” � ð øõ Œ;ð ð ð Ø ˆˆð øøøs‚.0°AÁA)r«r8rrxr;rf)r7r<r6r5r;r<)r7r8r6r5r;r8)r7r5r6r5r;r5rM)r€r+r,r5r;r8)r€r/r;r<)[Ú __future__rr¯ÚloggingrbrêÚtypingrr‡Úsocketrr°ÚtypesrÚ_base_connectionrÚ_request_methodsr Ú connectionr r r r rrrrrÚ exceptionsrrrrrrrrrrrrrrÐr Ú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_CHECKINGÚsslÚtyping_extensionsr/r0r1Ú getLoggerrIr�ÚUnionÚfloatr¥ÚTypeVarr2r4ÚEAGAINÚ EWOULDBLOCKr²rfrýr!Úoverloadr.r‰rNrErCúrLsVðØ"Ð"Ð"Ð"Ð"Ð"à € € € Ø€€€Ø € € € Ø € € € Ø € € € Ø€€€Ø€€€Ø+Ð+Ð+Ð+Ð+Ð+ØÐÐÐÐÐà(Ð(Ð(Ð(Ð(Ð(Ø,Ð,Ð,Ð,Ð,Ð,ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð9Ð8Ð8Ð8Ð8Ð8ððððððððððððððððððððððððððððððð'Ð&Ð&Ð&Ð&Ð&Ø2Ð2Ð2Ð2Ð2Ð2Ø7Ð7Ð7Ð7Ð7Ð7Ø@Ð@Ð@Ð@Ð@Ð@Ð@Ð@ØÐÐÐÐÐØ5Ð5Ð5Ð5Ð5Ð5ØBÐBÐBÐBÐBÐBÐBÐBÐBÐBØ)Ð)Ð)Ð)Ð)Ð)Ð)Ð)Ø7Ð7Ð7Ð7Ð7Ð7ØÐÐÐÐÐØÐÐÐÐÐà ÔðJØ€J€J€Jà)Ð)Ð)Ð)Ð)Ð)àIÐIÐIÐIÐIÐIÐIÐIà€gÔ˜Ñ!Ô!€à” ˜W e¨]¸DÐ@ÔA€ à ˆŒ˜Ñ !Ô !€ð. ð. ð. ð. ð. ñ. ô. ð. ðd”L %Ô"3Ð4ÐðF ðF ðF ðF ðF ˜¨ñF ôF ðF ðRMðMðMðMðMÐ,ñMôMðMð`9ð9ð9ð9ð:„ðððñ„ðð„ðððñ„ðððððð&HLðRðRðRðRðRð ð ð ð ð ð rE