2bi6SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ r SSK J r JrJrJrJrJrJrJr SSKJrJrJrJrJrJrJrJrJrJrJ r J!r!J"r" SSK#J$r$ SS K%J&r& SS K'J(r( SS K)J*r* SS K+J,r, SS K-J.r. SSK/J0r0 SSK1J2r2 SSK3J4r4 SSK5J6r6 SSK7J8r8 SSK9J:r: SSK;Jr? SSK;J@r@JArA SSKBrB\BRrD\$RRrH\R"\J5rK\L"5rM"SS\L5rN\R\R1rQ"SS\N\(5rR"SS\R5rSSrTSr>S rUg!\Ea SSKFJDrD Nf=f)!)absolute_importN)errortimeout) BaseSSLErrorBrokenPipeErrorDummyConnectionHTTPConnection HTTPExceptionHTTPSConnectionVerifiedHTTPSConnectionport_by_scheme) ClosedPoolErrorEmptyPoolErrorHeaderParsingErrorHostChangedErrorInsecureRequestWarningLocationValueError MaxRetryErrorNewConnectionError ProtocolError ProxyErrorReadTimeoutErrorSSLError TimeoutError)six)queue)RequestMethods) HTTPResponse)is_connection_dropped)connection_requires_http_tunnel) LifoQueue)set_file_position)assert_header_parsing)Retry)CertificateError)Timeout)Url_encode_target)_normalize_host)get_host parse_url)weakref_finalizecB\rSrSrSrSr\rS SjrSr Sr Sr Sr S r g) ConnectionPoolDa 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. NcU(d [S5e[XRS9UlUR 5UlX lg)NzNo host specified.scheme)rr+r4hostlower _proxy_hostport)selfr5r8s ڔ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/urllib3/connectionpool.py__init__ConnectionPool.__init__Rs4$%9: :#D= ::< cl[U5R<SUR<SUR<S3$)Nz(host=z, port=))type__name__r5r8r9s r:__str__ConnectionPool.__str__Zs!)-d)<)Pool reached maximum size and no more connections are allowed.z Resetting dropped connection: %s auto_openrr)rhgetriAttributeErrorrrEmptyrr!r{r|r5rKgetattrr)r9rrs r: _get_connHTTPConnectionPool._get_conns 99==tzz7=CD )$// II8$)) D JJLt[!,1't~~''+ ;!$(9: :{{ zz$T   s$BAC$#C$c(URRUSS9 g![a OR[Ra< [ R SURURR55 Of=fU(aUR5 gg)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. FriNzLConnection pool is full, discarding connection: %s. Connection pool size: %s) rhrlrrFullr{warningr5qsizerKrs r: _put_connHTTPConnectionPool._put_conn,ss  IIMM$eM ,   zz  KK^  !    JJL s A8A A87A8cg)E Called right before a request is made, after the socket is created. NrGrs r:_validate_conn!HTTPConnectionPool._validate_connKrTr=cgrFrGrs r:_prepare_proxy!HTTPConnectionPool._prepare_proxyQs r=cU[LaURR5$[U[5(aUR5$[R "U5$)z:Helper that always returns a :class:`urllib3.util.Timeout`)_Defaultrclonerdr(re)r9rs r: _get_timeoutHTTPConnectionPool._get_timeoutUsI h <<%%' ' gw ' '==? "%%g. .r=c[U[5(a[XSU-5e[US5(a#UR[ ;a[XSU-5eS[ U5;dS[ U5;a[XSU-5eg)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)rd SocketTimeoutrhasattrr_blocking_errnosstr)r9errurl timeout_values r:_raise_timeout!HTTPConnectionPool._raise_timeoutas c= ) )">N  3 SYY2B%B">N  #c( "&?3 D ' #>N ' r=c U=RS- slURU5nUR5 [R"UR 5UlURU5 U(aUR"X#40UD6 OUR"X#40UD6 UR&n [)USS5(arU S:Xa[+XSU -5eU [R,La/UR.R1[2R4"55 OUR.R1U 5 UR7SS9n [)US S 5n [BRES URFURHURJUUU W RLU RN5 [QU RR5 U $![[4a nURXUR S9 eSnAff=f![a GNU[aInUR[R [R"[R$1;aeSnAGNSnAff=f![8aE UR75n GN'![:a#n[<R>"US5 SnAGNOSnAff=ff=f![[[@4anURXU S9 eSnAff=f![T[84a0n [BRWS URYU5U SS 9 Sn A U $Sn A ff=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 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)rrrNsockrrT) buffering _http_vsn_strzHTTP/?z%s://%s:%s "%s %s %s" %s %sz$Failed to parse headers (url=%s): %s)exc_info)-rnr start_connectr(resolve_default_timeoutr~rrrrrrequest_chunkedrequestr IOErrorrEPIPE ESHUTDOWN EPROTOTYPE read_timeoutrrDEFAULT_TIMEOUTr settimeoutsocketgetdefaulttimeout getresponse TypeError BaseExceptionr raise_from SocketErrorr{r|r4r5r8statuslengthr%msgrr _absolute_url) r9rmethodrrchunkedhttplib_request_kw timeout_objerhttplib_response http_versionhpes r: _make_request HTTPConnectionPool._make_requestzs" Q''0 !!#66{7R7RS      % $$VG4FG V?,>?(#//  4 & & q &B\Qw666 $$V%=%=%?@ $$\2  ,#'#3#3d#3#C t_h?  ) KK II II     # #  # #   !"2"6"6 7 w|,    Adll  K      ww      F ,,'+'7'7'9$$,NN1d++ ,  ,|[9    Al  K  (#I.  KK6""3'    sF3/G& G&0IK3G#GG#& I3 I<>II JI&#J& J0JJ JJJJK/KKL%LLcj[URURURUS9R$)N)r4r5r8path)r)r4r5r8r)r9rs r:r HTTPConnectionPool._absolute_urls%$++DIIDIIDQUUUr=c\URcgURSsol[U5 grR)rhrq)r9old_pools r:rKHTTPConnectionPool.closes+ 99  "ii) )r=clURS5(ag[U5up#nUb [X2S9nUR(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. /TNr3) startswithr,r+r8rrr4r5)r9rr4r5r8s r: is_same_hostHTTPConnectionPool.is_same_hosts >>#  &c]d  "47D 99T!%%f-Dt~'9'9&'AADd# TYY 'JJJr=Tc [U5nURnUc URn[U[5(d[R "XVUR S9nU cU RSS5n U(a"URU5(d [XU5eURS5(a [R"[U55nO [R"UR5nSnU n[UR UR"U5nU(d+UR%5nUR'UR(5 SnSn[+X<5n UR-U5nUR/U S9nUR0UlUR SL=(a [5USS5(+nU(aU(aUR7U5 UR9UUUUUUU S 9nU (dUOSnXS 'UR:R<"U4UUUS .U D6nSnU(dU=(a UR[5nSnU(aUR]U5 U(d7[^RaSUUU5 URb"UUUUUUU4UU U U U S.U D6$U=(a WRe5nU(a{WRfS:XaSnURSXUUS9nURm5 URoU5 [^RqSUU5 URb"UUUU4UUUUU U U U S.U D6$[sWRRS55nURuUURfU5(ahURSXUUS9nURm5 URYU5 [^RqSU5 URb"UUUU4UUUUU U U U S.U D6$U$![>a SnSne[@[B[D[F[H[J[L4GaEnSnS n[U[H5(a_UR (aNU"U5(aAUR (a0UR RS :Xa[OS[KU55nO[U[H[L45(a [KU5nO`[U[D[P45(aUR (a [OSU5nO'[U[D[B45(a [GSU5nURSXUU[TRV"5SS9nURY5 UnSnAGN;SnAff=f!U(dU=(a UR[5nSnU(aUR]U5 ff=f![ha' URj(aURm5 eUs$f=f![ha' URv(aURm5 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 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)redirectdefaultpreload_contentTrFrr)rbodyrsrrequest_method)rh connectionrgcSR[R"S[U5R 555nSU;=(d SU;$)N z[^a-z]zwrong version numberzunknown protocol)joinresplitrr6) ssl_errormessages r:%_is_ssl_error_message_from_http_proxyIHTTPConnectionPool.urlopen.._is_ssl_error_message_from_http_proxysB((288Hc)n6J6J6L#MN*g5V9Kw9Vr=httpszYour proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxyzCannot connect to proxy.zConnection aborted.)r_pool _stacktracez1Retrying (%r) after connection broken by '%r': %s)r pool_timeout release_connrbody_posi/GET)responserzRedirecting %s -> %s)rgrassert_same_hostrrrrrz Retry-Afterz Retry: %s)>#  ..!45C..0C)> JJ))+= $llnG NN4-- . %T4w %++G4K>>,>7D&66DL $ $ 6!wfd@< !%9##D) $11# 2  )5D$M-3( )''44 (   HJ@ , $(! t$ KKCWcSV <<  ))! "%I)G)G)I #% !++F(RV+W    !  # #H - II,c3D E<<!   !!1))! "x//33MBC   FHOO_ E E !++F(RV+W    ! MM( # IIk3 '<<   !!1))!  A J %          5 J 1l++JJ9!<<JJJJ%%04QK A .>?@@QKA -?@AAdjj91=A ];<<!"7;''1DcllnQ>O(G MMOCk5 p , $(! t$ !F! ,,'')  <! **'')  sPB>O?V.W 8UD:U UUU=V.WW .W<;W<) rirormrnrhrarbrjrgrcrrF)rArUrVrWrXr4r r}r rr(rr;rrrrrrrrrrrKrrrZrGr=r:r\r\ps9vF"MK ''>>@*%(N>   /4*25u nV *K2tr=r\c^\rSrSrSrSr\rSS\RSSSSSSSSSSSSSSS4Sjr Sr S r S r U4S jrS 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. rNFrc [R"UUUUUUUUUU U 4 0UD6 XlXlXlXlXlUUlUUlUUl UUl grF) r\r;key_file cert_file cert_reqs key_passwordca_certs ca_cert_dir ssl_versionassert_hostnameassert_fingerprint)r9r5r8rcrrrrirsrgrtrurrrrrrrrrros r:r;HTTPSConnectionPool.__init__sy0 ##             ! ""( &&."4r=c [U[5(awURURURUR UR URURURURS9 URUl U$)zp Prepare the ``connection`` for :meth:`urllib3.util.ssl_wrap_socket` and establish the tunnel if proxy is used. )rrrrrrrr) rdrset_certrrrrrrrrrrs r: _prepare_conn!HTTPSConnectionPool._prepare_connsx d3 4 4 MM!...... ,, $ 4 4#'#:#:   $//D  r=cURURURUR5 URR S:XaSUlUR5 g)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. rTN) set_tunnelr7r8rjrar4tls_in_tls_requiredconnectrs r:r"HTTPSConnectionPool._prepare_proxysG (($))T5G5GH ::   ''+D $ r=c U=RS- sl[RSURURUR=(d S5 UR (aUR [ La [S5eURnURnURb,URRnURRnUR "SUUURRURURURURS.URD6nUR!U5$)z6 Return a fresh :class:`http.client.HTTPSConnection`. rz)Starting new HTTPS connection (%d): %s:%s443zCCan't connect to HTTPS URL because the SSL module is not available.)r5r8rrcrrrrG)rmr{r|r5r8r}r rrarr~rcrrrror)r9 actual_host actual_portrs r:rHTTPSConnectionPool._new_conns ! 7  II II   !!T%7%7?%JU ii ii :: !**//K**//K!!  LL00;;nn]]**  ll  !!$''r=c:>[[U] U5 [USS5(dUR 5 UR (d([ R"SUR-[5 [USS5SLa[ R"S[5 gg)rrNzUnverified 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-warningsproxy_is_verifiedFzUnverified HTTPS connection done to an HTTPS proxy. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings) superrrrr$ is_verifiedwarningswarnr5r)r9r __class__s r:r"HTTPSConnectionPool._validate_conns !47=tVT** LLN MM$'+ii0 '  4,d 3u < MM$ '  =r=) rrrrrrrrr)rArUrVrWrXr4r r}r(rr;rrrrrZ __classcell__)r1s@r:rrsr F#M '')/5b( "(Hr=rc [U5up#nU=(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', '/') Prr8)r,rrrr\)rkwr4r5r8s r:connection_from_urlr76s[("#F$  1>%%fb1D "49d9b99!$8T8R88r=c~[X5nURS5(aURS5(aUSSnU$)z7 Normalize hosts for comparisons and use with sockets. []r)normalize_hostrendswith)r5r4s r:r+r+Rs= $ 'D s c 2 2Abz Kr=cURSS9nU(aUR5 M(![Ra gf=f)z2Drains a queue of connections and closes each one.FrN)rrKrr)rhrs r:rqrqdsC 88%8(D  ;;   s)+AA)V __future__rrloggingrrrr/rrrrrrr r r r r rr exceptionsrrrrrrrrrrrrrpackagesrpackages.six.movesrrrrr util.connectionr! util.proxyr" util.queuer# util.requestr$ util.responser% util.retryr&util.ssl_match_hostnamer' util.timeoutr(util.urlr)r*r+r<r,r-weakreffinalizer.r#packages.backports.weakref_finalizemovesrk getLoggerrAr{objectrr0EAGAIN EWOULDBLOCKrr\rr7rqrGr=r:rUs&  '+   %#"27!+05!)7)F''    ! 8% V% RLL%"3"34Y Y xg,gT98$ W!FEFs<D?? E E