§ ÍÍaMÛÍcãó<—ddlmZddlZddlZddlZddlZddlZddlmZddlm Z ddl m Z m Z mZmZmZmZmZmZddlmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!ddl"m#Z#dd l$m%Z%dd l&m'Z'dd l(m)Z)dd l*m+Z+dd l,m-Z-ddl.m/Z/ddl0m1Z1ddl2m3Z3ddl4m5Z5ddl6m7Z7ddl8m9Z9ddl:m;Z;mddl:m?Z?m@Z@e#jAjBZBejCeD¦«ZEeF¦«ZGGd„deF¦«ZHejIejJhZKGd„deHe)¦«ZLGd„deL¦«ZMd„ZNd„Z=dS)é)Úabsolute_importN)Úerror©Útimeouté)Ú BaseSSLErrorÚBrokenPipeErrorÚDummyConnectionÚHTTPConnectionÚ HTTPExceptionÚHTTPSConnectionÚVerifiedHTTPSConnectionÚport_by_scheme) ÚClosedPoolErrorÚEmptyPoolErrorÚHeaderParsingErrorÚHostChangedErrorÚInsecureRequestWarningÚLocationValueErrorÚ MaxRetryErrorÚNewConnectionErrorÚ ProtocolErrorÚ ProxyErrorÚReadTimeoutErrorÚSSLErrorÚ TimeoutError)Úsix)Úqueue)ÚCertificateError)ÚRequestMethods)Ú HTTPResponse)Úis_connection_dropped)Úconnection_requires_http_tunnel)Ú LifoQueue)Úset_file_position)Úassert_header_parsing)ÚRetry)ÚTimeout)ÚUrlÚ_encode_target)Ú_normalize_host)Úget_hostÚ parse_urlcó:—eZdZdZdZeZdd„Zd„Zd„Z d„Z d„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. Ncóž—|std¦«‚t||j¬¦«|_| ¦«|_||_dS)NzNo host specified.©Úscheme)rr+r2ÚhostÚlowerÚ _proxy_hostÚport)Úselfr3r6s úv/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/urllib3/connectionpool.pyÚ__init__zConnectionPool.__init__JsJ€Øð ;Ý$Ð%9Ñ:Ô:Ð :å# D°´Ð=Ñ=Ô=ˆŒ ØŸ:š:™<œ<ˆÔ؈Œ ˆ ˆ ócóP—t|¦«j›d|j›d|j›d�S)Nz(host=z, port=ú))ÚtypeÚ__name__r3r6©r7s r8Ú__str__zConnectionPool.__str__Rs*€Ý)-¨d©¬Ô)<Ð)<Ð)<¸d¼i¸i¸iÈÌÈÈÐSÐSr:có—|S©N©r?s r8Ú __enter__zConnectionPool.__enter__Us€Øˆ r:có.—| ¦«dS)NF)Úclose)r7Úexc_typeÚexc_valÚexc_tbs r8Ú__exit__zConnectionPool.__exit__Xs€Ø � Š ‰ Œ ˆ àˆur:có—dS)úD Close all pooled connections and disable the pool. NrCr?s r8rFzConnectionPool.close]ó €ð ˆr:rB) r>Ú __module__Ú __qualname__Ú__doc__r2r$ÚQueueClsr9r@rDrJrFrCr:r8r/r/<s}€€€€€ððð€FØ€HðððððTðTðTððððððð  ð ð ð ð r:r/c óª—eZdZdZdZeZeZdde j dddddddf d„Z d„Z dd„Z d „Zd „Zd „Zd „Zd „Zedfd„Zd„Zd„Zd„Zdddddeddddf d„ZdS)Ú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 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:`http.client.HTTPConnection`. .. note:: Only works in Python 2. This parameter is ignored in Python 3. :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. ÚhttpNFrc  óv—t |||¦«tj||¦«||_t |t ¦«st j|¦«}|€ tj}||_ ||_ |  |¦«|_ ||_ | |_| pi|_| |_t#|¦«D]} |j  d¦«Œd|_d|_| |_|jr;|j dg¦«|j|jd<|j|jd<dSdS)NrÚsocket_optionsÚproxyÚ proxy_config)r/r9r ÚstrictÚ isinstancer(Ú from_floatr'ÚDEFAULTrÚretriesrQÚpoolÚblockrWÚ proxy_headersrXÚxrangeÚputÚnum_connectionsÚ num_requestsÚconn_kwÚ setdefault)r7r3r6rYrÚmaxsizer_Úheadersr]Ú_proxyÚ_proxy_headersÚ _proxy_configreÚ_s r8r9zHTTPConnectionPool.__init__¨sA€õ ×Ò  d¨DÑ1Ô1Ð1ÝÔ  gÑ.Ô.Ð.àˆŒ å˜'¥7Ñ+Ô+ð 2ÝÔ(¨Ñ1Ô1ˆGà ˆ?Ý”mˆGàˆŒ ؈Œ à—M’M 'Ñ*Ô*ˆŒ ؈Œ àˆŒ Ø+Ð1¨rˆÔØ)ˆÔõ˜‘”ð ð ˆAØ ŒI�MŠM˜$Ñ Ô Ð Ð ð !ˆÔØˆÔØˆŒ à Œ:ð =ð ŒL× #Ò #Ð$4°bÑ 9Ô 9Ð 9à$(¤JˆDŒL˜Ñ !Ø+/Ô+<ˆDŒL˜Ñ (Ð (Ð (ð =ð =r:cóâ—|xjdz c_t d|j|j|jpd¦«|jd|j|j|jj|jdœ|j ¤Ž}|S)z9 Return a fresh :class:`HTTPConnection`. rz(Starting new HTTP connection (%d): %s:%sÚ80)r3r6rrYrC) rcÚlogÚdebugr3r6Ú ConnectionClsrÚconnect_timeoutrYre©r7Úconns r8Ú _new_connzHTTPConnectionPool._new_connÞs�€ð ÐÔ Ñ!ÐÔÝ � Š Ø 6Ø Ô Ø ŒIØ ŒIÐ ˜ñ  ô ð ð"ˆtÔ!ð Ø”Ø”Ø”LÔ0Ø”;ð  ð ð Œlð  ð ˆðˆ r:cóº—d} |j |j|¬¦«}nE#t$rt |d¦«‚t j$r|jrt|d¦«‚YnwxYw|rZt|¦«rKt  d|j ¦«|  ¦«t|dd¦«dkrd}|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``. N)r_rzPool is closed.z>Pool reached maximum size and no more connections are allowed.z Resetting dropped connection: %sÚ auto_openrr)r^Úgetr_ÚAttributeErrorrrÚEmptyrr"rorpr3rFÚgetattrru)r7rrts r8Ú _get_connzHTTPConnectionPool._get_connós€ðˆð Ø”9—=’= t¤z¸7�=ÑCÔCˆDˆDøåð ;ð ;ð ;Ý! $Ð(9Ñ:Ô:Ð :åŒ{ð ð ð ØŒzð Ý$ØØTñôðð ˆDð  øøøð ð Õ)¨$Ñ/Ô/ð Ý �IŠIÐ8¸$¼)Ñ DÔ DÐ DØ �JŠJ‰LŒLˆLÝ�t˜[¨!Ñ,Ô,°Ò1Ð1ð�àÐ'�t—~’~Ñ'Ô'Ð's„!&¦?A(Á'A(cóô— |j |d¬¦«dS#t$rYn4tj$r#t  d|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. F©r_Nz2Connection pool is full, discarding connection: %s) r^rbryrÚFullroÚwarningr3rFrss r8Ú _put_connzHTTPConnectionPool._put_connsŸ€ð YØ ŒI�MŠM˜$ eˆMÑ ,Ô ,Ð ,Ø ˆFøÝð ð ð à ˆDÝŒzð Yð Yð Yå �KŠKÐLÈdÌiÑ XÔ XÐ XÐ XÐ Xð Yøøøð ð Ø �JŠJ‰LŒLˆLˆLˆLð ð s‚   A¬.AÁAcó—dS)úU Called right before a request is made, after the socket is created. NrCrss r8Ú_validate_connz!HTTPConnectionPool._validate_conn6rMr:có—dSrBrCrss r8Ú_prepare_proxyz!HTTPConnectionPool._prepare_proxy<s€à ˆr:cóÀ—|tur|j ¦«St|t¦«r| ¦«St j|¦«S)z:Helper that always returns a :class:`urllib3.util.Timeout`)Ú_DefaultrÚclonerZr(r[)r7rs r8Ú _get_timeoutzHTTPConnectionPool._get_timeout@sT€à •hÐ Ð Ø”<×%Ò%Ñ'Ô'Ð 'å �g�wÑ 'Ô 'ð /Ø—=’=‘?”?Ð "õÔ% gÑ.Ô.Ð .r:có(—t|t¦«rt||d|z¦«‚t|d¦«r"|jt vrt||d|z¦«‚dt |¦«vsdt |¦«vrt||d|z¦«‚dS)zAIs the error actually a timeout? Will raise a ReadTimeout or passú!Read timed out. (read timeout=%s)Úerrnoz timed outzdid not complete (read)N)rZÚ SocketTimeoutrÚhasattrr�Ú_blocking_errnosÚstr)r7ÚerrÚurlÚ timeout_values r8Ú_raise_timeoutz!HTTPConnectionPool._raise_timeoutLsÑ€õ �c�=Ñ )Ô )ð Ý"Ø�cÐ>ÀÑNñôð õ �3˜Ñ Ô ð  S¤YÕ2BÐ%BÐ%BÝ"Ø�cÐ>ÀÑNñôð ð �#˜c™(œ(Ð "Ð "Ð&?Å3Ø ñD ôD ð' ð' õ#Ø�cÐ>ÀÑNñôð ð' ð' r:c ó—|xjdz c_| |¦«}| ¦«|j|_ | |¦«n7#t tf$r#}| |||j¬¦«‚d}~wwxYw |r|j ||fi|¤Žn|j ||fi|¤ŽnM#t$rYnAt$r5}|j tjtjtjhvr‚Yd}~nd}~wwxYw|j} t%|dd¦«rn| dkrt'||d| z¦«‚| t(jur,|j t1j¦«¦«n|j | ¦« | d¬¦«} nR#t6$rE | ¦«} n,#t8$r}t;j|d¦«Yd}~nd}~wwxYwYnwxYwn8#t tt>f$r}| ||| ¬¦«‚d}~wwxYwt%|d d ¦«} t@ !d |j"|j#|j$||| | j%| j&¦ «  tO| j(¦«nO#tRt6f$r;} t@ *d | +|¦«| d¬ ¦«Yd} ~ nd} ~ wwxYw| S)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 timeout: Socket timeout in seconds for the request. This can be a float or integer, which will set the same timeout value for the socket connect and the socket read, or an instance of :class:`urllib3.util.Timeout`, which gives you more fine-grained control over your timeouts. r)r’r“r”NÚsockrrŒT)Ú bufferingÚ _http_vsn_strzHTTP/?z%s://%s:%s "%s %s %s" %s %sz$Failed to parse headers (url=%s): %s)Úexc_info),rdrŠÚ start_connectrrrr„rŽrr•Úrequest_chunkedÚrequestr ÚIOErrorr�ÚEPIPEÚ ESHUTDOWNÚ EPROTOTYPEÚ read_timeoutr{rr(ÚDEFAULT_TIMEOUTr—Ú settimeoutÚsocketÚgetdefaulttimeoutÚ getresponseÚ TypeErrorÚ BaseExceptionrÚ raise_fromÚ SocketErrorrorpr2r3r6ÚstatusÚlengthr&Úmsgrr€Ú _absolute_url) r7rtÚmethodr“rÚchunkedÚhttplib_request_kwÚ timeout_objÚer¢Úhttplib_responseÚ http_versionÚhpes r8Ú _make_requestz HTTPConnectionPool._make_requestesÌ€ð" ÐÔ˜QÑÐÔà×'Ò'¨Ñ0Ô0ˆ Ø×!Ò!Ñ#Ô#Ð#Ø"Ô2ˆŒ ð Ø × Ò  Ñ %Ô %Ð %Ð %øÝ�|Ð,ð ð ð à × Ò  A¨3¸d¼lÐ Ñ KÔ KÐ KØ øøøøð øøøð Øð @Ø$�Ô$ V¨SÐGÐGÐ4FÐGÐGÐGÐGà�” ˜V SÐ?Ð?Ð,>Ð?Ð?Ð?øøõ ð ð ð à ˆDÝð ð ð ðŒwÝ” Ý”ÝÔ ðððð ð ððððøøøøð øøøð#Ô/ˆ õ �4˜ Ñ &Ô &ð 3ð ˜qÒ Ð Ý&ؘ#ÐBÀ\ÑQñôðð�wÔ6Ð6Ð6Ø” ×$Ò$¥VÔ%=Ñ%?Ô%?Ñ@Ô@Ð@Ð@à” ×$Ò$ \Ñ2Ô2Ð2ð ð ,à#'×#3Ò#3¸dÐ#3Ñ#CÔ#CÐ Ð øÝð ,ð ,ð ,ð,Ø'+×'7Ò'7Ñ'9Ô'9Ð$Ð$øÝ$ð,ð,ð,õ”N 1 dÑ+Ô+Ð+Ð+Ð+Ð+Ð+Ð+øøøøð ,øøøøøð  ,øøøøøõ�|­[Ð9ð ð ð Ø × Ò  A¨3¸lÐ Ñ KÔ KÐ KØ øøøøð øøøõ ˜t _°hÑ?Ô?ˆ Ý � Š Ø )Ø ŒKØ ŒIØ ŒIØ Ø Ø Ø Ô #Ø Ô #ñ ô ð ð Ý !Ð"2Ô"6Ñ 7Ô 7Ð 7Ð 7øÝ"¥IÐ.ð ð ð Ý �KŠKØ6Ø×"Ò" 3Ñ'Ô'ØØð ñ ô ð ð ð ð ð ð øøøøð øøøð Ðs®ÁAÁBÁ.B  BÂ!B7Â7 Dà Dà +C<Ã<DÆ F#Æ"G6Æ# G2Æ.GÇG2Ç G,Ç G'Ç"G2Ç'G,Ç,G2Ç/G6Ç1G2Ç2G6Ç6H+È H&È&H+É;JÊKÊ!1KËKcóP—t|j|j|j|¬¦«jS)N)r2r3r6Úpath)r)r2r3r6r“)r7rºs r8r¯z HTTPConnectionPool._absolute_urlÜs"€Ý˜$œ+¨D¬I¸D¼IÈDÐQÑQÔQÔUÐUr:có¼—|j€dS|jdc}|_ | d¬¦«}|r| ¦«Œ-#tj$rYdSwxYw)rLNTFr~)r^rxrFrrz)r7Úold_poolrts r8rFzHTTPConnectionPool.closeßs~€ð Œ9Ð Ø ˆFà"œi¨Ðˆ�$”)ð ð !Ø—|’|¨%�|Ñ0Ô0�Øð!Ø—J’J‘L”L�Lð !øõ Œ{ð ð ð Ø ˆDˆDð øøøsš.AÁAÁAcó0—| d¦«rdSt|¦«\}}}|�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. ú/TNr1)Ú startswithr,r+r6rrxr2r3)r7r“r2r3r6s r8Ú is_same_hostzHTTPConnectionPool.is_same_hostñs±€ð �>Š>˜#Ñ Ô ð Ø�4õ& c™]œ]ш��dØ Ð Ý" 4°Ð7Ñ7Ô7ˆDð Œ9ð ˜Tð Ý!Ô% fÑ-Ô-ˆDˆDØ”ð ˜t¥~Ô'9¸&Ñ'AÔ'AÒAÐA؈Dà˜˜dÐ#¨¬ °T´YÀÄ Ð'JÒJÐJr:Tc óÎ —t|¦«}|j}|€|j}t|t¦«st j|||j¬¦«}| €|  dd¦«} |r&| |¦«st|||¦«‚|  d¦«r"tj t|¦«¦«}ntj |j¦«}d}| }t|j|j|¦«}|s.| ¦«}| |j¦«d}d}t+|| ¦«} | |¦«}| | ¬¦«}|j|_|jduot5|dd¦« }|r|r| |¦«| ||||||| ¬ ¦«}| s|nd}|| d <|jj|f|||d œ| ¤Ž}d}�n#t>$rd}d}‚t@tBtDtFtHtJtLf$rß}d}t|tHtLf¦«rtK|¦«}n`t|tDtNf¦«r|jrtQd |¦«}n,t|tDtBf¦«rtGd |¦«}| )||||tUj+¦«d¬¦«}| ,¦«|}Yd}~nd}~wwxYw|s|o| -¦«}d}|r| .|¦«n7#|s|o| -¦«}d}|r| .|¦«wwxYw|s7t^ 0d|||¦«|j1|||||||f|| | | | dœ| ¤ŽS|o| 2¦«}|rµ|j3dkrd} | )||||¬¦«}n.#th$r!|j5r| 6¦«‚|cYSwxYw| 6¦«| 7|¦«t^ 8d||¦«|j1||||f||||| | | | dœ| ¤ŽSts| :d¦«¦«}| ;||j3|¦«r§ | )||||¬¦«}n.#th$r!|j<r| 6¦«‚|cYSwxYw| 6¦«| ,|¦«t^ 8d|¦«|j1||||f||||| | | | dœ| ¤ŽS|S)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`. .. 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 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 ``response_kw.get('preload_content', True)``. :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 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. :param \**response_kw: Additional parameters are passed to :meth:`urllib3.response.HTTPResponse.from_httplib` N)ÚredirectÚdefaultÚpreload_contentTr¾Frr—)rÚbodyrhr±Úrequest_method)r^Ú connectionr]zCannot connect to proxy.zConnection aborted.é)rÚ_poolÚ _stacktracez1Retrying (%r) after connection broken by '%r': %s)rÚ pool_timeoutÚ release_connr±Úbody_posi/ÚGET)ÚresponserÉzRedirecting %s -> %s)r]rÂÚassert_same_hostrrËrÌr±rÍz Retry-Afterz Retry: %s)=r-r2rhrZr'Úfrom_intr]rxrÀrr¿rÚ ensure_strr*r“r#rWrXÚcopyÚupdater`r%rŠr|rrrr{r†r¸Ú ResponseClsÚ from_httplibrrr r«rrrrrrÚ incrementÚsysršÚsleeprFr�ror€ÚurlopenÚget_redirect_locationr¬rÚraise_on_redirectÚ drain_connÚsleep_for_retryrpÚboolÚ getheaderÚis_retryÚraise_on_status)r7r°r“rÅrhr]rÂrÐrrËrÌr±rÍÚ response_kwÚ parsed_urlÚdestination_schemertÚrelease_this_connÚhttp_tunnel_requiredr’Ú clean_exitr³Úis_new_proxy_connrµÚ response_connrÏr´Úredirect_locationÚhas_retry_afters r8rÚzHTTPConnectionPool.urlopensý€õZ˜s‘^”^ˆ Ø'Ô.Ðà ˆ?Ø”lˆGå˜'¥5Ñ)Ô)ð WÝ”n W°xÈÌÐVÑVÔVˆGà Ð Ø&Ÿ?š?Ð+<¸dÑCÔCˆLð ð 7 D×$5Ò$5°cÑ$:Ô$:ð 7Ý" 4¨¨gÑ6Ô6Ð 6ð �>Š>˜#Ñ Ô ð 1Ý”.¥°Ñ!4Ô!4Ñ5Ô5ˆCˆCå”. ¤Ñ0Ô0ˆCàˆð)Ðå>Ø ŒJ˜Ô)Ð+=ñ ô Ðð$ð /Ø—l’l‘n”nˆGØ �NŠN˜4Ô-Ñ .Ô .Ð .ðˆðˆ õ% T¨8Ñ4Ô4ˆð[ %à×+Ò+¨GÑ4Ô4ˆKØ—>’>¨,�>Ñ7Ô7ˆDà&Ô6ˆDŒLà $¤ °$Ð 6ð!½wØ�f˜dñ@ô@ð<Ð ð!ð *Ð%9ð *Ø×#Ò# DÑ)Ô)Ð)ð $×1Ò1ØØØØ#ØØØð 2ñ ô Ð ð)5Ð>˜D˜D¸$ˆMð-3ˆKÐ(Ñ )ð5�tÔ'Ô4Ø ðàØ(Øð ðð ð ðˆHðˆJ‰Jøåð ð ð àˆJØ %Ð Ø õ Ý Ý Ý Ý Ý Ý ð ð ð ð ðˆJݘ!�lÕ,<Ð=Ñ>Ô>ð <ݘQ‘K”K��ݘA¥ Õ-?Ð@ÑAÔAð <ÀdÄjð <ÝÐ9¸1Ñ=Ô=��ݘA¥ ­]Ð;Ñ<Ô<ð <Ý!Ð"7¸Ñ;Ô;�à×'Ò'ؘ 1¨D½c¼l¹n¼nÈQÔ>Oð(ñôˆGð �MŠM‰OŒOˆOðˆCˆCˆCˆCˆCˆCøøøøð3 øøøð8ð )ð Ð, § ¢ ¡ ¤ �Ø$(Ð!à ð %ð—’˜tÑ$Ô$Ð$øøðð )ð Ð, § ¢ ¡ ¤ �Ø$(Ð!à ð %ð—’˜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×1Ò1°-Ñ@Ô@ÑAÔAˆØ × Ò ˜F H¤O°_Ñ EÔ Eð ð Ø!×+Ò+¨F°CÀ(ÐRVÐ+ÑWÔW��øÝ ð ð ð ØÔ*ðØ×'Ò'Ñ)Ô)Ð)ØØ���ð  øøøð × Ò Ñ !Ô !Ð !Ø �MŠM˜(Ñ #Ô #Ð #Ý �IŠI�k 3Ñ 'Ô 'Ð 'Ø�4”<ØØØØð ð  Ø!Ø!1ØØ)Ø)ØØ!ðððððð ð ˆsVÅB+G2Ç0MÇ2=LÈ/CL ÌMÌ LÌMÍ4M7ÏO3Ï3(PÐPÒ?SÓ(TÔTrB)r>rNrOrPr2r rqr!rÕr(r£r9rur|r�r„r†rŠr•rˆr¸r¯rFrÀrÚrCr:r8rSrShsd€€€€€ð9ð9ðv€FØ"€MØ€Kð ØØÔ'ØØØØØØØð4=ð4=ð4=ð4=ðlððð*%(ð%(ð%(ð%(ðNððð8 ð ð ð  ð ð ð /ð /ð /ðððð4*2¸5ðu ðu ðu ðu ðnVðVðVðððð$KðKðKð2ØØØØØØØØØðXðXðXðXðXðXr:rScór‡—eZdZdZdZeZddejdddddddddddddddfd„Z d„Z d„Z d „Z ˆfd „Z ˆxZS) Ú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. ÚhttpsNFrc ó¼—tj|||||||||| | f i|¤Ž| |_| |_| |_||_||_||_||_||_ ||_ dSrB) rSr9Úkey_fileÚ cert_fileÚ cert_reqsÚ key_passwordÚca_certsÚ ca_cert_dirÚ ssl_versionÚassert_hostnameÚassert_fingerprint)r7r3r6rYrrgr_rhr]rirjrñròrórôrõr÷rørùröres r8r9zHTTPSConnectionPool.__init__rs•€õ0 Ô#Ø Ø Ø Ø Ø Ø Ø Ø Ø Ø Ø ð ð ðð ð ð ð!ˆŒ Ø"ˆŒØ"ˆŒØ(ˆÔØ ˆŒ Ø&ˆÔØ&ˆÔØ.ˆÔØ"4ˆÔÐÐr:c óÒ—t|t¦«rQ| |j|j|j|j|j|j|j |j ¬¦«|j |_ |S)zˆ Prepare the ``connection`` for :meth:`urllib3.util.ssl_wrap_socket` and establish the tunnel if proxy is used. )rñrôròrórõrörørù) rZrÚset_certrñrôròrórõrörørùr÷rss r8Ú _prepare_connz!HTTPSConnectionPool._prepare_conn£sp€õ �dÕ3Ñ 4Ô 4ð 0Ø �MŠMØœØ!Ô.Øœ.Øœ.ØœØ Ô,Ø $Ô 4Ø#'Ô#:ð ñ ô ð ð $Ô/ˆDÔ Øˆ r:có¨—| |j|j|j¦«|jjdkrd|_| ¦«dS)zÏ Establishes a tunnel connection through HTTP CONNECT. Tunnel connection is established early because otherwise httplib would improperly set Host: header to proxy's IP:port. rïTN)Ú set_tunnelr5r6r`rWr2Útls_in_tls_requiredÚconnectrss r8r†z"HTTPSConnectionPool._prepare_proxy·sK€ð �Š˜Ô(¨$¬)°TÔ5GÑHÔHÐHà Œ:Ô  Ò 'Ð 'Ø'+ˆDÔ $à � Š ‰Œˆˆˆr:c óº—|xjdz c_t d|j|j|jpd¦«|jr|jt urtd¦«‚|j}|j}|j�|jj}|jj}|jd|||j j |j |j |j |jdœ|j¤Ž}| |¦«S)zF Return a fresh :class:`http.client.HTTPSConnection`. rz)Starting new HTTPS connection (%d): %s:%sÚ443zCCan't connect to HTTPS URL because the SSL module is not available.N)r3r6rrYròrñrôrC)rcrorpr3r6rqr rrWrrrrYròrñrôrerü)r7Ú actual_hostÚ actual_portrts r8ruzHTTPSConnectionPool._new_connÆs€ð ÐÔ Ñ!ÐÔÝ � Š Ø 7Ø Ô Ø ŒIØ ŒIÐ ˜ñ  ô ð ðÔ!ð  TÔ%7½?Ð%JÐ%JÝØUñôð ð”iˆ Ø”iˆ Ø Œ:Ð !Øœ*œ/ˆKØœ*œ/ˆKà!ˆtÔ!ð  ØØØ”LÔ0Ø”;Ø”nØ”]ØÔ*ð  ð  ðŒlð  ð  ˆð×!Ò! $Ñ'Ô'Ð'r:cóø•—tt|¦« |¦«t|dd¦«s| ¦«|js$t jd|jzt¦«dSdS)rƒr—Nz¸Unverified HTTPS request is being made to host '%s'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings) Úsuperrîr„r{rÚ is_verifiedÚwarningsÚwarnr3r)r7rtÚ __class__s €r8r„z"HTTPSConnectionPool._validate_connês�ø€õ Õ! 4Ñ(Ô(×7Ò7¸Ñ=Ô=Ð=õ�t˜V TÑ*Ô*ð Ø �LŠL‰NŒNˆNàÔð Ý ŒMð$ð'+¤iñ0õ 'ñ ô ð ð ð ð ð r:)r>rNrOrPr2r rqr(r£r9rür†rur„Ú __classcell__)r s@r8rîrîasÌø€€€€€ð ð ð€FØ#€Mð ØØÔ'ØØØØØØØØØØØØØØØð)/5ð/5ð/5ð/5ðbððð( ð ð ð"(ð"(ð"(ðHððððððððr:rîc óž—t|¦«\}}}|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', '/') éPrïr6)r,rrxrîrS)r“Úkwr2r3r6s r8Úconnection_from_urlrsn€õ(" #™œÑ€FˆD�$Ø Ð 1•>Ô% f¨bÑ1Ô1€DØ �ÒÐÝ" 4Ð9Ð9¨dÐ9°bÐ9Ð9Ð9å! $Ð8Ð8¨TÐ8°RÐ8Ð8Ð8r:cóŽ—t||¦«}| d¦«r| d¦«r |dd…}|S)z? Normalize hosts for comparisons and use with sockets. ú[ú]réÿÿÿÿ)Únormalize_hostr¿Úendswith)r3r2s r8r+r+sN€õ ˜$ Ñ 'Ô '€D𠇂�sÑÔð § ¢ ¨cÑ 2Ô 2ðØ�A�b�DŒzˆØ €Kr:)OÚ __future__rr�Úloggingr¥rØrrr«rrŽrÇrr r r r r rrÚ exceptionsrrrrrrrrrrrrrÚpackagesrÚpackages.six.movesrÚpackages.ssl_match_hostnamerr�r rÏr!Úutil.connectionr"Ú util.proxyr#Ú util.queuer$Ú util.requestr%Ú util.responser&Ú util.retryr'Ú util.timeoutr(Úutil.urlr)r*r+rr,r-ÚmovesraÚ getLoggerr>roÚobjectrˆr/ÚEAGAINÚ EWOULDBLOCKr�rSrîrrCr:r8úr)ssðØ&Ð&Ð&Ð&Ð&Ð&à € € € Ø€€€Ø € € € Ø € € € Ø€€€Ø'Ð'Ð'Ð'Ð'Ð'Ø+Ð+Ð+Ð+Ð+Ð+ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ðððððððððððððððððððððððððððððððÐÐÐÐÐØ%Ð%Ð%Ð%Ð%Ð%Ø9Ð9Ð9Ð9Ð9Ð9Ø#Ð#Ð#Ð#Ð#Ð#Ø"Ð"Ð"Ð"Ð"Ð"Ø2Ð2Ð2Ð2Ð2Ð2Ø7Ð7Ð7Ð7Ð7Ð7Ø!Ð!Ð!Ð!Ð!Ð!Ø+Ð+Ð+Ð+Ð+Ð+Ø0Ð0Ð0Ð0Ð0Ð0ØÐÐÐÐÐØ!Ð!Ð!Ð!Ð!Ð!Ø)Ð)Ð)Ð)Ð)Ð)Ð)Ð)Ø7Ð7Ð7Ð7Ð7Ð7Ø)Ð)Ð)Ð)Ð)Ð)Ð)Ð)à ŒÔ €à€gÔ˜Ñ!Ô!€à ˆ6‰8Œ8€ð% ð% ð% ð% ð% �Vñ% ô% ð% ðR”L %Ô"3Ð4Ððv ðv ðv ðv ðv ˜¨ñv ôv ðv ðr\ð\ð\ð\ð\Ð,ñ\ô\ð\ð~9ð9ð9ð8ððððr: