/opt/support/venv/lib/python3.13/site-packages/urllib3/__pycache__
NameSizeModeActions
connection.cpython-313.pyc392910644editdlrm
connectionpool.cpython-313.pyc391000644editdlrm
exceptions.cpython-313.pyc174020644editdlrm
fields.cpython-313.pyc115870644editdlrm
filepost.cpython-313.pyc34760644editdlrm
poolmanager.cpython-313.pyc239020644editdlrm
response.cpython-313.pyc585540644editdlrm
_base_connection.cpython-313.pyc69470644editdlrm
_collections.cpython-313.pyc231230644editdlrm
_request_methods.cpython-313.pyc99410644editdlrm
_version.cpython-313.pyc7810644editdlrm
__init__.cpython-313.pyc71040644editdlrm
Edit: /opt/support/venv/lib/python3.13/site-packages/urllib3/__pycache__/response.cpython-313.pyc (58554B)
i2SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSK r SSK r SSK r SSK J r SSKJr SSKJr SSKJr \ R*(aSSKJr SSKrSS KJr SS KJr SS KJr SS K J!r!J"r"J#r# SS K$J%r%J&r&J'r'J(r(J)r)J*r*J+r+J,r,J-r-J.r.J/r/ SSK0J1r1J2r2 SSK3J4r4 \ R*(aSSK5J6r6 \Rn"\85r9"SS5r:"SS\:5r;"SS5r<"SS\:5r=\b "SS\:5r>\R~S:aSSK@JArA OSSKBJArA SrC"SS\:5rD"S!S"\:5rES*S#jrF"S$S%5rG"S&S'\R5rI"S(S)\I5rg!\a SSKrGNf=f!\a SrGN'f=f!\a S rCNef=f)+) annotationsN)contextmanager) HTTPMessage) HTTPResponse)timeout)BaseHTTPConnection)util) _TYPE_BODY)HTTPHeaderDict) BaseSSLErrorHTTPConnection HTTPException) BodyNotHttplibCompatible DecodeErrorDependencyWarning HTTPErrorIncompleteReadInvalidChunkLength InvalidHeader ProtocolErrorReadTimeoutErrorResponseNotChunkedSSLError) is_fp_closedis_response_to_head)Retry)HTTPConnectionPoolc@\rSrSrSSSjjr\S Sj5rS SjrSrg) ContentDecoder6c[5eNNotImplementedErrorselfdata max_lengths B/opt/support/venv/lib/python3.13/site-packages/urllib3/response.py decompressContentDecoder.decompress7 !##c[5er#r$r's r*has_unconsumed_tail"ContentDecoder.has_unconsumed_tail: !##r.c[5er#r$r0s r*flushContentDecoder.flush>r-r.Nr(bytesr)intreturnr;r=boolr=r;) __name__ __module__ __qualname____firstlineno__r+propertyr1r5__static_attributes__r7r.r*r r 6s $$$$r.r cJ\rSrSrSSjrS S Sjjr\S Sj5rS SjrSr g) DeflateDecoderBcbSUlSUlSUl[R"5Ulg)NTr.) _first_try_first_try_data _unfed_datazlib decompressobj_objr0s r*__init__DeflateDecoder.__init__Cs)"&&( r.cURU-nSUlU(dURR(dU$UnUS:aSnO US:XaXlgUR(d1URR URRU-US9$U=R U- slURR XS9nU(aSUlSUlU$![ Rab SUl[ R"[ R*5UlUR UR US9SUls$!SUlf=ff=f)Nr.rr)F) rMrPunconsumed_tailrKr+rLrNerrorrO MAX_WBITS)r'r(r)original_max_length decompresseds r*r+DeflateDecoder.decompressIs;$&DII55K(  "J A % $ 99'' ))D0Z(  $ +99///LL"''*$ zz +#DO**DNN?;DI +((5H'(+$s$ +s%+/CAE!E:E E  Ec[UR5=(d7 [URR5=(a UR(+$r#)r?rMrPrUrKr0s r*r1"DeflateDecoder.has_unconsumed_tailss8D$$% ** + CDOO0C r.c6URR5$r#rPr5r0s r*r5DeflateDecoder.flushyyy  r.)rKrLrPrMNr=Noner8r:r>r@ rArBrCrDrQr+rEr1r5rFr7r.r*rHrHBs&) (+T  !r.rHc \rSrSrSrSrSrSrg)GzipDecoderState}rrr7N)rArBrCrD FIRST_MEMBER OTHER_MEMBERS SWALLOW_DATArFr7r.r*rere}sLMLr.recJ\rSrSrSSjrS S Sjjr\S Sj5rS SjrSr g) GzipDecoderc[R"S[R-5Ul[R UlSUlg)Nr.)rNrOrWrPrerh_state_unconsumed_tailr0s r*rQGzipDecoder.__init__s2&&rDNN':; &33 #r.c [5nUR[R:Xa [ U5$US:XaU=R U- slgUR U-nU(d&UR R(a [ U5$X0R RU[U[U5- S5S9- nUR R=(d UR R=UlnUS:a[U5U:aOpU(d [ U5$UR R(aA[RUl[R "S[R"-5UlM[ U5$![RaK URn[RUlSUlU[R:Xa [ U5s$ef=f)Nrr.rTro) bytearrayrprerjr;rqrPeofr+maxlenrNrVrirU unused_datarOrW)r'r(r)retprevious_states r*r+GzipDecoder.decompresssk ;;*77 7:  ?  ! !T ) !$$t+ :  yy++Sc#h)>%B, ))BTYY-B-B D !DA~#c(j"8Sz!yy}}.<<  ..rDNN/BC 7:Sz1:: !%.;; (+%!%5%C%CC :% s2F AG*(G*c,[UR5$r#)r?rqr0s r*r1GzipDecoder.has_unconsumed_tailsD))**r.c6URR5$r#r^r0s r*r5GzipDecoder.flushr`r.)rPrprqNrar8r:r>r@rcr7r.r*rlrls&$ 0d++!r.rlcX\rSrSrS SjrS S SjjrS S Sjjr\S Sj5rSSjr Sr g) BrotliDecoderc[R"5Ul[URS5(a"[ USURR 5 g[ USURR 5 g)Nr+ _decompress)brotli DecompressorrPhasattrsetattrr+processr0s r*rQBrotliDecoder.__init__sO++-DItyy,//mTYY-A-ABmTYY->->?r.c[5er#r$)r'r(output_buffer_limits r*rBrotliDecoder._decompresss %' 'r.cUS:aURXS9$URU5$![a/ [R"S[5 URU5s$f=f)Nr)rz;Brotli >= 1.2.0 is required to prevent decompression bombs.)r TypeErrorwarningswarnrr&s r*r+BrotliDecoder.decompresssi .>++D+QQ++D11 . Q%''-- .s((6A! A!cbURR5(+$![a gf=f)NF)rPcan_accept_more_dataAttributeErrorr0s r*r1!BrotliDecoder.has_unconsumed_tails/ 9999;;;!  s ! ..cn[URS5(aURR5$g)Nr5r.)rrPr5r0s r*r5BrotliDecoder.flushs'tyy'**yy((r.rPNrar8)r(r;rr<r=r;r:r>r@) rArBrCrDrQrr+rEr1r5rFr7r.r*rrs+ @ ( .      r.r))zstdTcJ\rSrSrSSjrS S Sjjr\S Sj5rS SjrSr g) ZstdDecoderc8[R"5Ulgr#)rZstdDecompressorrPr0s r*rQZstdDecoder.__init__s--/DIr.cU(dUR(dgURR(a3URRU-n[R "5UlURR XS9n[U5nU/nURR(GaURR(GaUS:dXB:aURRnURR(d[R "5UlURR UUS:aX$- OSS9n[U5=n(aURU5 XG- nOURR(aOEURR(a*URR(aUS:aMXB:aMSRU5$)Nr.rTrr9) r1rPrurxrrr+rw needs_inputappendjoin)r'r(r)partlength data_partsrx part_lengths r*r+ZstdDecoder.decompresssU 8 8yy}}yy,,t3 113 99'''DDYFJ II)))!^v':"ii33 yy,, $ 5 5 7DIyy++8BQ 3B,#&d)+;+%%d+)FYY** II))!^v':88J' 'r.cURR=(d URR(+=(d [URR5$r#)rPrrur?rxr0s r*r1ZstdDecoder.has_unconsumed_tail s> -->?4 %%D r.cPURR(d [S5eg)NzZstandard data is incompleter.)rPrurr0s r*r5ZstdDecoder.flush&s99==!"@AAr.rNrar8r:r>r@rcr7r.r*rrs& 0 (D      r.rFcR\rSrSrSrSrS SjrS SjrS S Sjjr\ SSj5r Sr g ) MultiDecoderi,z From RFC7231: If one or more encodings have been applied to a representation, the sender that applied the encodings MUST generate a Content-Encoding header field that lists the content codings in the order in which they were applied. c0URS5Vs/sHo"R5PM nn[U5UR:a$[ S[U5SUR35eUVs/sHn[ U5PM snUlgs snfs snf)N,z)Too many content encodings in the chain: z > )splitstriprwmax_decode_linksr _get_decoder _decoders)r'modesm encodingses r*rQMultiDecoder.__init__9s(- C(89(81WWY(8 9 y>D11 1;y>"#d&;&;%<> 4==9a,q/9= : >s B0Bc<URSR5$Nr)rr5r0s r*r5MultiDecoder.flushBs~~a &&((r.c\US::a/[UR5HnURU5nM U$[5nSn[UR5H)nURX[ U5- S9nU(dM'SnM+ XA- nU(a[ U5U:a [ U5$SnMm)NrTFrTr.)reversedrr+rtrwr;)r'r(r)dryany_datas r*r+MultiDecoder.decompressEs ?dnn-||D).KkHdnn-||D#c(5J|K4#H. KCs3x:5Sz!Dr.c:[SUR55$)Nc38# UHoRv M g7fr#)r1).0rs r* 3MultiDecoder.has_unconsumed_tail..asA.Q((.s)anyrr0s r*r1 MultiDecoder.has_unconsumed_tail_sA$..AAAr.)rN)rstrr=rbr@r8r:r>) rArBrCrD__doc__rrQr5r+rEr1rFr7r.r*rr,s4>)4BBr.rcSU;a [U5$US;a [5$[bUS:Xa [5$[(aUS:Xa [ 5$[ 5$)Nr)gzipx-gzipbrr)rrlrrHAS_ZSTDrrH)modes r*rrdsW d{D!! !!} ddlxDFN}  r.cJ\rSrSrSrS SjrS SjrS SjrS SjrSSjr Sr g )BytesQueueBufferiva|Memory-efficient bytes buffer To return decoded data in read() and still follow the BufferedIOBase API, we need a buffer to always return the correct amount of bytes. This buffer should be filled using calls to put() Our maximum memory usage is determined by the sum of the size of: * self.buffer, which contains the full data * the largest chunk that we will copy in get() cF[R"5UlSUlgr) collectionsdequebuffer_sizer0s r*rQBytesQueueBuffer.__init__s?J?P?P?R  r.cUR$r#)rr0s r*__len__BytesQueueBuffer.__len__s zzr.cvURRU5 U=R[U5- slgr#)rrrrwr'r(s r*putBytesQueueBuffer.puts& 4  c$i r.chUS:XagUR(d [S5eUS:a [S5e[URS5U:XaQ[ URS[ 5(a/U=R U-slURR5$Sn[R"5nX!:aX- nURR5n[U5nXF:ae[U5nUSUXTSpURU5 URRU5 U=R U-slUR5$URU5 U=R U-slX&- nUR(dUR5$X!:aMUR5$)Nrr.zbuffer is emptyzn should be > 0)r RuntimeError ValueErrorrw isinstancer;rpopleftioBytesIO memoryviewwrite appendleftgetvalue) r'nfetchedry remainingchunk chunk_length left_chunk right_chunks r*getBytesQueueBuffer.getsa 601 1 U./ / t{{1~ ! # 4;;q>5(I(I JJ!OJ;;&&( (jjlk IKK'')Eu:L'"5)*/ *;U:=NK *% &&{3 i' ||~ %  l*  #G;;||~'k&||~r.c^URmT(dURS:Xdeg[T5S:Xa6TR5n[ U[ 5(aUR 5nOR[R"5nURU4Sj[[T5555 UR5nSUlU$)Nrr.rc3D># UHnTR5v M g7fr#)r)r_rs r*r+BytesQueueBuffer.get_all..sH5G6>>++5Gs ) rrrwpoprrtobytesrr writelinesranger)r'resultryrs @r*get_allBytesQueueBuffer.get_alls::? "? v;! ZZ\F&*--)**,C NNHU3v;5GH H\\^F  r.)rrNrar=r<)r(r;r=rb)rr<r=r;r@) rArBrCrDrrQrrrrrFr7r.r*rrvs!  !Fr.rc\rSrSr%/SQr\b\S/- r\(a\S/- r/SQr\\ R4r S\ S'\b\ \R4- r \(a\ \ R4- r SSS .S$S jjrS%S jr\S&S j5rS'S jr\S(Sj5r\R*S)Sj5r\S*Sj5r\S+Sj5r\R*S,Sj5rS-S.SjjrS/S0SjjrS1S2SjjrS1S.SjjrS3SjrS3SjrS3SjrS3SjrS3Sjr S4S5Sjjr!S&Sjr"S6Sjr#S7Sjr$S4S8S jjr%S7S!jr&S(S"jr'S#r(g)9BaseHTTPResponsei)rrdeflateNrr)i-i.i/i3i4ztuple[type[Exception], ...]DECODER_ERROR_CLASSES)headersretriesc|[U[5(aXlO[U5UlX lX0lX@lXPlX`lSUlXpl Xl SUl URRSS5R5n SU RS55n SU ;aSUl SUlU g)NFztransfer-encodingc3@# UHoR5v M g7fr#)r)rencs r*r,BaseHTTPResponse.__init__..s>,=SYY[[,=srchunkedT)rr r statusversionversion_stringreasondecode_content_has_decoded_content _request_urlr rrlowerr_decoder) r'r rrrrr request_urlr tr_encrs r*rQBaseHTTPResponse.__init__s g~ . ."L)'2DL  , ,$)!(3  !!"5r:@@B>FLL,=>  !DL/3  r.cnURUR;aURRS5$g)z Should we redirect and where to? :returns: Truthy redirect location string if we got a redirect status code and valid location. ``None`` if redirect status and no location. ``False`` if not a redirect status code. locationF)rREDIRECT_STATUSESr rr0s r*get_redirect_location&BaseHTTPResponse.get_redirect_locations. ;;$00 0<<##J/ /r.c[5er#r$r0s r*r(BaseHTTPResponse.datar3r.cdURRS5n[R"U5$)al Deserializes the body of the HTTP response as a Python object. The body of the HTTP response must be encoded using UTF-8, as per `RFC 8529 Section 8.1 `_. To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to your custom decoder instead. If the body of the HTTP response is not decodable to UTF-8, a `UnicodeDecodeError` will be raised. If the body of the HTTP response is not a valid JSON document, a `json.JSONDecodeError` will be raised. Read more :ref:`here `. :returns: The body of the HTTP response as a Python object. zutf-8)r(decode_jsonloadsrs r*jsonBaseHTTPResponse.jsons'$yy({{4  r.c[5er#r$r0s r*urlBaseHTTPResponse.urlr3r.c[5er#r$r'r+s r*r+r,r3r.c[5er#r$r0s r* connectionBaseHTTPResponse.connection"r3r.cUR$r#)_retriesr0s r*r BaseHTTPResponse.retries&s }}r.ctUb/UR(aURSRUlXlg)Nr9)historyredirect_locationr+r3)r'r s r*r r4*s+  7??r*< "##r.c[5er#r$r9s r* read_chunkedBaseHTTPResponse.read_chunkedErDr.c[5er#r$r0s r* release_connBaseHTTPResponse.release_connLr-r.c[5er#r$r0s r* drain_connBaseHTTPResponse.drain_connOr-r.c[5er#r$r0s r*shutdownBaseHTTPResponse.shutdownRr-r.c[5er#r$r0s r*closeBaseHTTPResponse.closeUr-r.cURRSS5R5nURcXR;a[ U5UlgSU;ahUR S5Vs/sH3nUR5UR;dM#UR5PM5 nnU(a[ U5Ulggggs snf)z- Set-up the _decoder attribute if necessary. content-encodingr Nr)r rrrCONTENT_DECODERSrrr)r'content_encodingrrs r* _init_decoderBaseHTTPResponse._init_decoderXs  <<++,>CIIK == #8#88 ,-= > ((.33C88wwyD$9$99AGGI8 $01A$BDM ) !s 1"CCcU(dUR(a [S5eU$UbU(aSnUR(a URRXS9nSUlU(aXR5- nU$!URa?nUR R SS5R5n[SU-U5UeSnAff=f) z> Decode the data passed in and potentially flush the decoder. _Calling read(decode_content=False) is not supported after read(decode_content=True) was called.Nr9rTTrUr zEReceived response with content-encoding: %s, but failed to decode it.) rrrr+rr rrr_flush_decoder)r'r(r flush_decoderr)rrWs r*_decodeBaseHTTPResponse._decodeks(("<K  J }}}}///L,0)  '') )D )) #||//0BBGMMO ')9:   s1A??C:C  CcUR(a6URRS5URR5-$g)zS Flushes the decoder. Should only be called if the decoder is actually being used. r.)rr+r5r0s r*r\BaseHTTPResponse._flush_decoders5 ====++C04==3F3F3HH Hr.cUR[U55n[U5S:XagX!S[U5&[U5$r)r?rw)r'btemps r*readintoBaseHTTPResponse.readintos9yyQ  t9>!kD Nt9 r.cUR$r#r r0s r* getheadersBaseHTTPResponse.getheaders ||r.c8URRX5$r#)r r)r'namedefaults r* getheaderBaseHTTPResponse.getheaders||..r.cUR$r#rhr0s r*infoBaseHTTPResponse.inforkr.cUR$r#)r+r0s r*geturlBaseHTTPResponse.geturls xxr.) rrrr3rrr rr rr+rr)r >typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | Nonerr<rr<rrr str | Nonerr?rrxr  Retry | Noner=rb)r=z"str | None | typing.Literal[False]r@)r=z typing.Anyr=rxr+rxr=rb)r=zBaseHTTPConnection | None)r=ry)r ryr=rbiN)r: int | Noner bool | Noner=typing.Iterator[bytes]NNFr:r}rr~r>r?r=r;NNr:r}rr~r=r;rar#) r(r;rr~r]r?r)r}r=r;)rcrtr=r<)r=r )rmrrnrxr=rx))rArBrCrDrVrrrIOErrorrNrVr__annotations__r ZstdErrorrQr rEr(r(r+setterr0r r;r?rBrFrIrLrOrRrXr^r\rerirorrrurFr7r.r*rrs4 TF"VH$1:A4::9N6N &,,0$..!22 SW!%!*P!* !*  !*  !*!*!* !*!* !*F $$!*$$ ZZ$$$$ ^^  FJ$$7B$ $&*# $ $$$ $  $&*$ $$$  $&*$ $$$ $$$$$C0"& ##$# #  #  #J/r.rcp^\rSrSrSrS!S"U4SjjjrS#SjrS#Sjr\S$Sj5r \S%Sj5r S&Sjr S'S jr S(S jr \S)S j5rS*S S .S+SjjjrS*S S .S+SjjjrS,S-SjjrS.S/SjjrS0S1SjjrS&SjrS#SjrS#Sjr\S&Sj5rS'SjrS#SjrS&SjrS#SjrS2SjrS.S1Sjjr\S3Sj5r\R@S4Sj5rS5Sjr!S r"U=r#$)6ria HTTP Response container. Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is loaded and decoded on-demand when the ``data`` property is accessed. This class is also compatible with the Python standard library's :mod:`io` module, and can hence be treated as a readable object in the context of that framework. Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`: :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 original_response: When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse` object, it's convenient to include the original for debug purposes. It's otherwise unused. :param retries: The retries contains the last :class:`~urllib3.util.retry.Retry` that was used during the request. :param enforce_content_length: Enforce content length checking. Body returned by server must match value of Content-Length header, if present. Otherwise, raise error. c >[TU]UUUUUUUU S9 XlUUlSUlSUlXlSUlXlU(a![U[[45(aXlXl Xl [US5(aXlUUlSUlUR#U5Ul['5UlU(a'UR(dUR+US9Ulggg)N)r rrrrrrr rr?r)superrQenforce_content_length auto_close_body_fp_original_response_fp_bytes_readmsgrrr;_pool _connectionr_sock_shutdown chunk_left _init_lengthlength_remainingr_decoded_bufferr?)r'bodyr rrrrpreload_contentroriginal_responsepoolr0rr rrequest_methodrr sock_shutdown __class__s r*rQHTTPResponse.__init__s* ))#  '=#$ 04"3 Jtc5\22J % 4 H+'+!% 1 1. A 01 4::.ADJ$.?r.cUR(aUR(dgURRUR5 SUlgr#)rr _put_connr0s r*rIHTTPResponse.release_conns4zz!1!1 T--.r.cfUR5 g![[[[4a gf=f)z Read and discard any remaining HTTP response data in the response connection. Unread data in the HTTPResponse connection blocks the connection from being released back to the pool. N)r?rOSErrorr rr0s r*rLHTTPResponse.drain_conns+   IIK7L-@   s 00c~UR(a UR$UR(aURSS9$g)NT)r>)rrr?r0s r*r(HTTPResponse.data$s0 ::::  8899490 0r.cUR$r#)rr0s r*r0HTTPResponse.connection/sr.c,[UR5$r#)rrr0s r*isclosedHTTPResponse.isclosed3sDHH%%r.cUR$)z Obtain the number of bytes pulled over the wire so far. May differ from the amount of content returned by :meth:``urllib3.response.HTTPResponse.read`` if bytes are encoded on the wire (e.g, compressed). )rr0s r*tellHTTPResponse.tell6s """r.cURRS5nUbUR(a[R S5 gUR S5Vs1sHn[ U5iM nn[U5S:a[SU-5eUR5nUS:aSnOSn[ UR5nUS;dS Us=::aS :dO US :XaSnU$s snf![a SnNHf=f![a SnNDf=f) z= Set initial length value for Response content if available. zcontent-lengthNzReceived response with both Content-Length and Transfer-Encoding set. This is expressly forbidden by RFC 7230 sec 3.3.2. Ignoring Content-Length and attempting to process response as Transfer-Encoding: chunked.rrz8Content-Length contained multiple unmatching values (%s)r)i0dHEAD) r rrlogwarningrr<rwrrrr)r'rcontent_lengthvallengthsrrs r*rHTTPResponse._init_length>s &*\\%5%56F%G  %||  " 0>/C/CC/HI/H3s8/HIwJ**++113 ##$$**,&&4+B+B+K+K+M+M!!#,N&a! S'tzz49JKQRR S-SV;"1+1,&tzz49JKQRR! 3JJ* - qyyj0=C/u5C#C+2!7+ K#&9!$?CJ K**++113 ##$$**,&&4+B+B+K+K+M+M!!#,N&s_H6B-FB H6- F7C F3D FA E&&F9F  FFB!H33H6FrBc@UR(deSnU(aX:d%UGcUR(aURU:a[R(d[R S:aU(aURR U5$[R"5nSnUbUS:wagUb[X5nX-nOUnURRU5nU(dUR5$URU5 AUcM_US:waMgUR5$U(a8UbURR U5$URR 5$UbURRU5$URR5$)a Read a response with the thought that reading the number of bytes larger than can fit in a 32-bit int at a time via SSL in some known cases leads to an overflow error that has to be prevented if `amt` or `self.length_remaining` indicate that a problem may happen. The known cases: * CPython < 3.9.7 because of a bug https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900. * urllib3 injected with pyOpenSSL-backed SSL-support. * CPython < 3.10 only when `amt` does not fit 32-bit int. i)r ir) rrr IS_PYOPENSSLsys version_inforBrrminr?rr)r'r:rB c_int_maxr max_chunk_amt chunk_amtr(s r*_fp_readHTTPResponse._fp_readsB&xxx S_ ))))I5  C$4$4w$>xx~~i00ZZ\F"M+? #C 7I$C -Ixx}}Y/??$ $ T"+??$ $ *-/488>>#& Otxx~~?O O*-488==% Mdhhmmo Mr.cURcg[URSS5nUR5 U(dURXS9OSnUbvUS:wapU(diURR 5 UR (a=UR b0UR S:wa [URUR 5eOGU(a@US:waU(aUR [U5:XaURR 5 SSS5 W(aIU=R[U5- slUR bU=R [U5-slU$!,(df  N`=f)z' Reads `amt` of bytes from the socket. NclosedFrr.r) rgetattrrrrRrrrrrw)r'r:rB fp_closedr(s r* _raw_readHTTPResponse._raw_reads 88 DHHh6  ":C4===2D3!8D //--9--2))<)S>STT$4+@+@CI+M  =#@    3t9 , $$0%%T2% I# "s CE)) E7c (UR5 Uc URnU(a US:aSnOUbSnUR(a^URR(aCUR SUSU[ UR 5- S9nUR RU5 [ UR 5U:aUR RU5$URU5nUSL=(d US:g=(a U(+nU(dG[ UR 5S:Xa.UR(aURR(dU$Uc!UR XRU5nU(aXPl U$U(dUR(a [S5eU$UR UUUU[ UR 5- S9nUR RU5 [ UR 5U:a}U(avURU5nUR UUUU[ UR 5- S9nUR RU5 [ UR 5U:a U(aMvUR RU5nU$)a Similar to :meth:`http.client.HTTPResponse.read`, but with two additional parameters: ``decode_content`` and ``cache_content``. :param amt: How much of the content to read. If specified, caching is skipped because it doesn't make sense to cache partial content as the full response. :param decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param cache_content: If True, will save the returned data such that the same result is returned despite of the state of the underlying file object. This is useful if you want the ``.data`` property to continue working after having ``.read()`` the file object. (Overridden if ``amt`` is set.) NrFr.r]r)r[rT) rXrrr1r^rwrrrrrrr)r'r:rr> decoded_datar(r]s r*r?HTTPResponse.read%sD4   !!00N 37C _!M}}!B!B#||""'"S)=)=%>> ,  $$((64''(C/++//44~~c"t >q(=X D(()Q.]]t}}'H'HK ;<<mDD! B =",,&@ <<T%9%9!:: (L  $ $\ 2d**+c1d~~c*#||"!"S)=)=%>> ,  $$((6d**+c1dd''++C0D r.c Uc URnU(aUS:aSnUR(aU(d [S5eUR(aURR(adUb[ UR 5U:aHURSUSUbU[ UR 5- OSS9nUR RU5 [ UR 5S:a8UcUR R5$UR RU5$US:XagURUSS9nU(aUcU$UR5 U(+nURXBXQS 9nUR RU5 U(dU(aOURS SS9nMSUcUR R5$UR RU5$) a; Similar to ``http.client.HTTPResponse.read1`` and documented in :meth:`io.BufferedReader.read1`, but with an additional parameter: ``decode_content``. :param amt: How much of the content to read. :param decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. NrzaCalling read1(decode_content=False) is not supported after read1(decode_content=True) was called.r.FrTrrTi ) rrrrr1rwrr^rrrrrX)r'r:rrr(r]s r*rBHTTPResponse.read1s"  !!00N 37C  $ $!"=  MM55[C(<(<$=$C#||""';>?c$"6"677PT ,  $$((64''(1,;//7799++//44 !8~~c~.K  $HM<<m(L  $ $\ 2}>>$d>3D ;''//1 1##'',,r.c#N# UR(a-UR5(aURXS9ShvN g[UR5(aE[ UR 5S:d,UR(aURR(aURXS9nU(aUv [UR5(dM6[ UR 5S:aMQUR(aURR(aMggggN7f)a A generator wrapper for the read() method. A call will block until ``amt`` bytes have been read from the connection or until the connection is closed. :param amt: How much of the content to read. The generator will return up to much data per iteration, but may return less. This is particularly likely when using compressed data. However, the empty string will never be returned. :param decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. rNr)r:r) rsupports_chunked_readsrFrrrwrrr1r?)r'r:rr(s r*r;HTTPResponse.streams$ <># #7+ !r.c.[URS5$)z Checks if the underlying file-like object looks like a :class:`http.client.HTTPResponse` object. We do this by testing for the fp attribute. If it is present we assume it returns raw chunks as processed by read_chunked(). fp)rrr0s r*r#HTTPResponse.supports_chunked_reads#stxx&&r.c0URbgURRR5nUR SS5Sn[ US5Ulg![ a0 UR5 U(a [X5Se[S5Sef=f)N;rrrozResponse ended prematurely) rrrreadlinerr<rrRrr)r'lines r*_update_chunk_length!HTTPResponse._update_chunk_length,s ?? &xx{{##%zz$"1% L!$mDO L JJL(4$>$$@AtK Ls A:BcrSnUcKURRUR5nUnURRS5 SUlU$URbBXR:a3URRU5nURU- UlUnU$XR:XaAURRU5nURRS5 SUlUnU$URRUR5nURRS5 SUlU$)Nrg)r _safe_readr)r'r:returned_chunkrvalues r* _handle_chunkHTTPResponse._handle_chunk>s ;HH''8E"N HH   ""DO__ (S??-BHH'',E"oo3DO"NOO #HH'',E HH   ""DO"N "XX00AN HH   ""DOr.c#0# UR5 UR(d [S5eUR5(d [ S5eUR 5 UR (a>[UR 5(a$UR R5 SSS5 gURRc SSS5 gU(aUS:aSnUR(aURR(aSnO2UR5 URS:XaO0URU5nUR!UUSUS9nU(aUv MU(aUR#5nU(aUv URbBURRR%5nU(dOUS:XaOURbMBUR (aUR R5 SSS5 g!,(df  g=f7f) av Similar to :meth:`HTTPResponse.read`, but with an additional parameter: ``decode_content``. :param amt: How much of the content to read. If specified, caching is skipped because it doesn't make sense to cache partial content as the full response. :param decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. zHResponse is not chunked. Header 'transfer-encoding: chunked' is missing.zkBody should be http.client.HTTPResponse like. It should have have an fp attribute which returns raw chunks.Nrr.F)rr]r)s )rXrrrrrrrrRrrrr1rrrr^r\r)r'r:rrdecodedrs r*rFHTTPResponse.read_chunkedTs ||$B **,,*P   "&&+>t?V?V+W+W''--/ # "xx{{"# "sQw==T]]%F%FE--/!+ ..s3E,,#1"'" ' !M!$--/!M((&xx{{++-7? ((&&&''--/k# " "s>AHAH& H/H HC?H+H< H HHcUR$)z Returns the URL that was the source of this response. If the request that generated this response redirected, this method will return the final redirect location. rr0s r*r+HTTPResponse.urls   r.cXlgr#rr.s r*r+rsr.c#L# /nURSS9HpnSU;aVURS5nSRU5US-S-v USSH nUS-v M US(aUS/nM[/nM_URU5 Mr U(aSRU5v gg7f)NTr r.rrr9)r;rrr)r'rrchunksxs r*__iter__HTTPResponse.__iter__s [[[5E~U+hhv&2U::"Ae)O&":$Rj\FF e$6 ((6" " sB"B$)rrrrrrrrrrrrrr)r NrrzHTTP/?NTTNNNNNTNNTN)&rr r rwrr<rr<rrrrxrr?rr?rz_HttplibHTTPResponse | NonerzHTTPConnectionPool | Noner0HTTPConnection | Nonerz_HttplibHTTPMessage | Noner ryrr?rrxrrxrr?rz#typing.Callable[[int], None] | Noner=rbrar@)r=rr>r)rrxr=r})r=ztyping.Generator[None]r#)r:r}rBr?r=r;rrrrr|)r:r}rr~r=ztyping.Generator[bytes])r:r}r=r;rzr{)r=r)$rArBrCrDrrQrIrLrEr(r0rrrrrrrr?rBr;rrOrRrrr5rrrrFr+rr rF __classcell__)rs@r*rrsDRV&! $#9=*.,0*. $'+%)"&=A'>B>BP>B >B  >B  >B>B>B>B7>B(>B*>B(>B>B!%>B #!>B" #>B$%>B&;'>B( )>B>B@    &#6p?$?$F7N 7N 7N 7N  7Nv2 2 2 2  2l&*# ^ ^$^ ^  ^D&*D- D-$D-  D-NFJ7B @, "   $'L$.EIR0R06AR0 R0h!! ZZ  ##r.r)rrr=r )J __future__rrrr(r&loggingrrtypingrrN contextlibr http.clientr_HttplibHTTPMessager_HttplibHTTPResponserr TYPE_CHECKING_base_connectionr brotlicffir ImportErrorr r r _collectionsr r0r rr exceptionsrrrrrrrrrrr util.responserr util.retryrconnectionpoolr getLoggerrArr rHrerlrr compressionr backportsrrrrrrrr7r.r*r#s"   %:<+ 4# ((CC    = 2 ! $ $8!^8!v =!.=!@ ((V9 7"$"H/n/d5B>5Bp$JJZkryyk\S ##S #u  FxHs<E+F + E95E<8E99E<<FF FF