/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__/response.cpython-313.pyc (53535B)
j SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSK r SSK r SSK r SSK r SSK Jr SSKJr SSKJr SSKJr \ R,(aSSKJr SSKrSS KJr SS KJr SS KJ r 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/ SSK0J1r1J2r2 SSK3J4r4 \ R,(aSSK5J6r6 \Rn"\85r9"SS5r:"SS\:5r;"SS5r<"SS\:5r=\b "SS\:5r>SSK?J@r@ SrA"SS\:5rB"S$S%\:5rMS-S&jrN"S'S(5rO"S)S*\R5rQ"S+S,\Q5rg!\a SSKrNf=f!\a SrGN f=f!\an SSKCr@\D"\E"\F\R"S\@R5R555rJ\JS :a\"S!5eSrA"S"S\:5rBN!\K\\L4a S#rANf=ff=f).) annotationsN)contextmanager) HTTPMessage) HTTPResponse)timeout)BaseHTTPConnection)util) _TYPE_BODY)HTTPHeaderDict) BaseSSLErrorHTTPConnection HTTPException) BodyNotHttplibCompatible DecodeError HTTPErrorIncompleteReadInvalidChunkLength InvalidHeader ProtocolErrorReadTimeoutErrorResponseNotChunkedSSLError) is_fp_closedis_response_to_head)Retry)HTTPConnectionPoolc(\rSrSrSSjrSSjrSrg)ContentDecoder6c[5eNNotImplementedErrorselfdatas C/usr/lib/rads/venv/lib/python3.13/site-packages/urllib3/response.py decompressContentDecoder.decompress7 !##c[5er"r#r&s r(flushContentDecoder.flush:r+r,Nr'bytesreturnr3r4r3)__name__ __module__ __qualname____firstlineno__r)r/__static_attributes__r1r,r(rr6s $$r,rc2\rSrSrSSjrSSjrS SjrSrg) DeflateDecoder>cTSUlSUl[R"5Ulg)NTr,) _first_try_datazlib decompressobj_objr.s r(__init__DeflateDecoder.__init__?s  &&( r,cU(dU$UR(dURRU5$U=RU- slURRU5nU(aSUlSUlU$![R ac SUl[R "[R*5UlURUR5SUls$!SUlf=ff=f)NF)r?rCr)r@rAerrorrB MAX_WBITS)r&r' decompresseds r(r)DeflateDecoder.decompressDsK99''- - d  "99//5L"'!  zz "#DO**DNN?;DI "tzz2! T  "s% 1A>>AC5C(C5( C11C5c6URR5$r"rCr/r.s r(r/DeflateDecoder.flushZyy  r,)r@r?rCNr4Noner2r5r6r7r8r9rDr)r/r:r1r,r(r<r<>s) ",!r,r<c \rSrSrSrSrSrSrg)GzipDecoderState^rrr1N)r6r7r8r9 FIRST_MEMBER OTHER_MEMBERS SWALLOW_DATAr:r1r,r(rSrS^sLMLr,rSc2\rSrSrSSjrSSjrS SjrSrg) GzipDecoderdc[R"S[R-5Ul[R UlgN)rArBrHrCrSrV_stater.s r(rDGzipDecoder.__init__es*&&rDNN':; &33 r,c@[5nUR[R:XdU(d [ U5$X R R U5- nUR RnU(d [ U5$[RUl[R"S[R-5UlM![RaD URn[RUlU[R:Xa [ U5s$ef=fr]) bytearrayr_rSrXr3rCr)rArGrW unused_datarBrH)r&r'retprevious_states r(r)GzipDecoder.decompressisk ;;*77 7t:  yy++D1199((DSz!*88DK**2+>?DI:: !%.;; !%5%C%CC :% sCADDc6URR5$r"rLr.s r(r/GzipDecoder.flush~rNr,)rCr_NrOr2r5rQr1r,r(rZrZds4@*!r,rZc(\rSrSrSSjrSSjrSrg) BrotliDecoderc[R"5Ul[URS5(a"[ USURR 5 g[ USURR 5 g)Nr))brotli DecompressorrChasattrsetattrr)processr.s r(rDBrotliDecoder.__init__sO++-DItyy,//lDII,@,@AlDII,=,=>r,cn[URS5(aURR5$g)Nr/r,)rorCr/r.s r(r/BrotliDecoder.flushs'tyy'**yy((r,rCNrOr5)r6r7r8r9rDr/r:r1r,r(rjrjs  ? r,rj)zstdTc2\rSrSrSSjrSSjrS SjrSrg) ZstdDecoderc8[R"5Ulgr")rvZstdDecompressorrCr.s r(rDZstdDecoder.__init__s--/DIr,cU(dgURRU5/nURR(aURR(aURRn[R "5UlUR URRU55 URR(aURR(aMSRU5$Nr,)rCr)eofrcrvr{appendjoinr&r' data_partsrcs r(r)ZstdDecoder.decompresss))..t45J))--DII$9$9"ii33  113 !!$))"6"6{"CD))--DII$9$9$988J' 'r,cPURR(d [S5eg)NZstandard data is incompleter,)rCrrr.s r(r/ZstdDecoder.flushs99==!"@AAr,ruNrOr2r5rQr1r,r(rxrxs 0 ( r,rxz^([0-9]+)\.([0-9]+))rz!zstandard module doesn't have eofc2\rSrSrSSjrSSjrS SjrSrg) rxcT[R"5R5Ulgr")rvr{rBrCr.s r(rDr|s 113AAC r,cU(dgURRU5/nURR(aURR(aURRn[R "5R 5UlURURRU55 URR(aURR(aMSRU5$r~) rCr)rrcrvr{rBrrrs r(r)rs"ii22489 iimm (=(="&))"7"7K $ 5 5 7 E E GDI%%dii&:&:;&GHiimm (=(=(=xx ++r,cURR5nURR(d [S5eU$)Nr)rCr/rr)r&rds r(r/rs.iioo'yy}}%&DEE r,ruNrOr2r5rQr1r,r(rxrxs D , r,Fc6\rSrSrSrSSjrS SjrS SjrSrg) MultiDecoderz 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. cURS5Vs/sHn[UR55PM snUlgs snf)N,)split _get_decoderstrip _decoders)r&modesms r(rDMultiDecoder.__init__s1;@;;s;KL;Ka,qwwy1;KLLs#Ac<URSR5$Nr)rr/r.s r(r/MultiDecoder.flushs~~a &&((r,c`[UR5HnURU5nM U$r")reversedrr))r&r'ds r(r)MultiDecoder.decompresss($..)A<<%D* r,)rN)rstrr4rPr5r2) r6r7r8r9__doc__rDr/r)r:r1r,r(rrsM)r,rcSU;a [U5$US;a [5$[bUS:Xa [5$[(aUS:Xa [ 5$[ 5$)Nr)gzipx-gzipbrrv)rrZrmrjHAS_ZSTDrxr<)modes r(rrsW d{D!! !!} ddlxDFN}  r,cJ\rSrSrSrS SjrS SjrS SjrS SjrSSjr Sr g )BytesQueueBufferaMemory-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() The worst case scenario is a single chunk, in which case we'll make a full copy of the data inside get(). cF[R"5UlSUlgr) collectionsdequebuffer_sizer.s r(rDBytesQueueBuffer.__init__s+6+<+<+>  r,cUR$r")rr.s r(__len__BytesQueueBuffer.__len__s zzr,cvURRU5 U=R[U5- slgr")rrrlenr%s r(putBytesQueueBuffer.puts& 4  c$i r,cxUS:XagUR(d [S5eUS:a [S5eSn[R"5nX!:aX- nURR 5n[ U5nXF:aZUSUXTSpURU5 URRU5 U=RU-sl UR5$URU5 U=RU-sl X&- nUR(dUR5$X!:aMUR5$)Nrr,zbuffer is emptyzn should be > 0) r RuntimeError ValueErrorioBytesIOpopleftrwrite appendleftrgetvalue) r&nfetchedrd remainingchunk chunk_length left_chunk right_chunks r(getBytesQueueBuffer.gets 601 1 U./ /jjlk IKK'')Eu:L'*/ *;U:=NK *% &&{3 i' ||~ %  l*  #G;;||~%k$||~r,cF^URmT(dURS:Xdeg[T5S:XaTR5nOR[R "5nUR U4Sj[[T5555 UR5nSUlU$)Nrr,rc3D># UHnTR5v M g7fr")r).0_rs r( +BytesQueueBuffer.get_all..@sH5G6>>++5Gs ) rrrpoprr writelinesranger)r&resultrdrs @r(get_allBytesQueueBuffer.get_all7sv::? "? v;! ZZ\F**,C NNHU3v;5GH H\\^F  r,)rrNrOr4int)r'r3r4rP)rrr4r3r5) r6r7r8r9rrDrrrrr:r1r,r(rrs   < r,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 S4Sjr!S&Sjr"S5Sjr#S6Sjr$S7S8S jjr%S6S!jr&S(S"jr'S#r(g)9BaseHTTPResponseiF)rrdeflateNrrv)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__..qs>,=SYY[[,=srchunkedT) isinstancer rstatusversionversion_stringreasondecode_content_has_decoded_content _request_urlrrrlowerr_decoder) r&rrrrrr request_urlrtr_enc encodingss r(rDBaseHTTPResponse.__init__Us 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_STATUSESrrr.s r(get_redirect_location&BaseHTTPResponse.get_redirect_locationxs. ;;$00 0<<##J/ /r,c[5er"r#r.s r(r'BaseHTTPResponse.data !##r,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_jsonloadsr%s r(jsonBaseHTTPResponse.jsons'$yy({{4  r,c[5er"r#r.s r(urlBaseHTTPResponse.urlrr,c[5er"r#r&rs r(rrrr,c[5er"r#r.s r( connectionBaseHTTPResponse.connectionrr,cUR$r")_retriesr.s r(rBaseHTTPResponse.retriess }}r,ctUb/UR(aURSRUlXlg)N)historyredirect_locationrr )r&rs r(rr s+  7??r*<CIIK == #8#88 ,-= > ((.33C88wwyD$9$99AGGI8 $01A$BDM ) !s 1"CCcU(dUR(a [S5eU$UR(a"URRU5nSUlU(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.Tr-rzEReceived response with content-encoding: %s, but failed to decode it.N) rrrr)rrrrr_flush_decoder)r&r'r flush_decoderr0r/s r(_decodeBaseHTTPResponse._decodes (("<K }}}}//5,0)  '') )D )) #||//0BBGMMO ')9:   s3A55C:B??CcUR(a6URRS5URR5-$g)zS Flushes the decoder. Should only be called if the decoder is actually being used. r,)rr)r/r.s r(r5BaseHTTPResponse._flush_decoder s5 ====++C04==3F3F3HH Hr,cUR[U55n[U5S:XagX!S[U5&[U5$r)rr)r&btemps r(readintoBaseHTTPResponse.readintos9yyQ  t9>!kD Nt9 r,cN[R"S[SS9 UR$)Nz|HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.6.0. Instead access HTTPResponse.headers directly.rUcategory stacklevel)warningswarnDeprecationWarningrr.s r( getheadersBaseHTTPResponse.getheaderss&  O'  ||r,cl[R"S[SS9 URR X5$)NzHTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.6.0. Instead use HTTPResponse.headers.get(name, default).rUrA)rDrErFrr)r&namedefaults r( getheaderBaseHTTPResponse.getheader(s1  V'  ||..r,cUR$r")rr.s r(infoBaseHTTPResponse.info2s ||r,cUR$r")rr.s r(geturlBaseHTTPResponse.geturl5s xxr,) rrrr rrrrrrrrr)r>typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | Nonerrrrrrr str | NonerboolrrUr Retry | Noner4rP)r4z"str | None | typing.Literal[False]r5)r4z typing.Anyr4rU)rrUr4rP)r4zBaseHTTPConnection | None)r4rW)rrWr4rPiN)r int | Noner bool | Noner4typing.Iterator[bytes]NNFrrZrr[rrVr4r3NNrrZrr[r4r3rO)r'r3rr[r6rVr4r3)r<rbr4r)r4r r")rJrrKrUr4rU))r6r7r8r9r.rmrrIOErrorrArGr__annotations__rv ZstdErrorrDrpropertyr'rrsetterrrrrrrr!r$r'r*r1r7r5r>rGrLrOrRr:r1r,r(rrFsr4 TF"VH$1:A4::9N6N &,,0$..!22 SW!%!*P!* !*  !*  !*!*!* !*!* !*F $$!*$$ ZZ$$$$ ^^  FJ$$7B$ $&*# $ $$$ $  $&*$ $$$  $&*$ $$$ $$$$$C&+6GK </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#$)6ri9a 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)rrrrrrrrrrr)superrDenforce_content_length auto_close_body_fp_original_response_fp_bytes_readmsgrrr3_pool _connectionro_sock_shutdown chunk_left _init_lengthlength_remainingr_decoded_bufferr)r&bodyrrrrrpreload_contentroriginal_responsepoolrrprrjrequest_methodrrk sock_shutdown __class__s r(rDHTTPResponse.__init__Zs* ))#  '=#$ 04"3 Jtc5\22J % 4 H+'+!% 1 1. A 01 4::.ADJ$.?r,cUR(aUR(dgURRUR5 SUlgr")rqrr _put_connr.s r(r!HTTPResponse.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)rrOSErrorr rr.s r(r$HTTPResponse.drain_conns+   IIK7L-@   s 00c~UR(a UR$UR(aURSS9$g)NT)r)rlrmrr.s r(r'HTTPResponse.datas0 ::::  8899490 0r,cUR$r")rrr.s r(rHTTPResponse.connectionsr,c,[UR5$r")rrmr.s r(isclosedHTTPResponse.isclosedsDHH%%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). )ror.s r(tellHTTPResponse.tells """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)i0r[HEAD) rrrlogwarningrrrrrrr)r&r|content_lengthvallengthslengthrs r(ruHTTPResponse._init_lengths &*\\%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!H33H6Frc@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) ir) rmrvr IS_PYOPENSSLsys version_inforrrminrrr)r&rr c_int_maxr max_chunk_amt chunk_amtr's r(_fp_readHTTPResponse._fp_read@sB&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) rmgetattrrrr*rjrvrror)r&rr fp_closedr's r( _raw_readHTTPResponse._raw_readys 88 DHHh6  ":C4===2D3!8D //--9--2))<)S>STT$4+@+@CI+M  =#@    3t9 , $$0%%T2% I# "s CE)) E7cUR5 Uc URnU(a US:aSnO9Ub6Sn[UR5U:aURR U5$UR U5nUSL=(d US:g=(a U(+nU(d[UR5S:XaU$Uc!UR XBU5nU(aX@lU$U(dUR(a [S5eU$UR XBU5nURRU5 [UR5U:agU(a`UR U5nUR XBU5nURRU5 [UR5U:a U(aM`URR U5nU$)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.) NrFr4) r1rrrwrrr7rlrrr)r&rrrr'r6 decoded_datas r(rHTTPResponse.reads4   !!00N 37C _!M4''(C/++//44~~c"t >q(=X D001Q6K ;<<mDD! . )",,&@ <<mLL  $ $\ 2d**+c1d~~c*#||D-P $$((6 d**+c1dd''++C0D r,cUc URnU(aUS:aSnUR(acU(d [S5e[UR5S:a8UcURR 5$URR U5$US:XagURUSS9nU(aUcU$UR5 U(+nURX2U5nURRU5 U(dU(aOURSSS9nMUUcURR 5$URR U5$)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,Tri ) rrrrrwrrrr1r7r)r&rrr'r6rs r(rHTTPResponse.read1s="  !!00N 37C  $ $!"=4''(1,;//7799++//44 !8~~c~.K  $HM<<mLL  $ $\ 2}>>$d>3D  ;''//1 1##'',,r,c## UR(a-UR5(aURXS9ShvN g[UR5(a[ UR 5S:aRURXS9nU(aUv [UR5(dM6[ UR 5S:aMQggN7f)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. rhNr)rr)rsupports_chunked_readsrrrmrrwr)r&rrr's r(rHTTPResponse.stream-s$ <># #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)rormr.s r(r#HTTPResponse.supports_chunked_readsstxx&&r,c0URbgURRR5nUR SS5Sn[ US5Ulg![ a0 UR5 U(a [X5Se[S5Sef=f)N;rrr^zResponse ended prematurely) rtrmrreadlinerrrr*rr)r&lines r(_update_chunk_length!HTTPResponse._update_chunk_lengths ?? &xx{{##%zz$"1% L!$mDO L JJL(4$>$$@AtK Ls A:BcrSnUcKURRUR5nUnURRS5 SUlU$URbBXR:a3URRU5nURU- UlUnU$XR:XaAURRU5nURRS5 SUlUnU$URRUR5nURRS5 SUlU$)NrU)rm _safe_readrt)r&rreturned_chunkrvalues r( _handle_chunkHTTPResponse._handle_chunks ;HH''8E"N HH   ""DO__ (S??-BHH'',E"oo3DO"NOO #HH'',E HH   ""DO"N "XX00AN HH   ""DOr,c## UR5 UR(d [S5eUR5(d [ S5eUR 5 UR (a>[UR 5(a$UR R5 SSS5 gURRc SSS5 gU(aUS:aSnUR5 URS:XaO.URU5nURX2SS9nU(aUv MOU(aUR5nU(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.NrF)rr6s )r1rrrrrrnrr*rmrrrtrr7r5r)r&rrrdecodedrs r(rHTTPResponse.read_chunkeds ||$B **,,*P   "&&+>t?V?V+W+W''--/ # "xx{{"# "sQw))+??a'**3/,,'!M--/!M((&xx{{++-7? ((&&&''--/]# " "s>AG%AG& G%/G G%CG +G G% G"G%cUR$)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. rr.s r(rHTTPResponse.urls   r,cXlgr"rrs r(rrsr,c#L# /nURSS9HpnSU;aVURS5nSRU5US-S-v USSH nUS-v M US(aUS/nM[/nM_URU5 Mr U(aSRU5v gg7f)NTrh r,rrr )rrrr)r&rrchunksxs r(__iter__HTTPResponse.__iter__ s [[[5E~U+hhv&2U::"Ae)O&":$Rj\FF e$6 ((6" " sB"B$)rlrrrwrmrornrqrrsrkrtrjrvrp)rNrrzHTTP/?NTTNNNNNTNNTN)&rxr rrTrrrrrrrrUryrVrrVrzz_HttplibHTTPResponse | Noner{zHTTPConnectionPool | NonerHTTPConnection | Nonerpz_HttplibHTTPMessage | NonerrWrjrVr|rUrrUrkrVr}z#typing.Callable[[int], None] | Noner4rPrOr5)r4r)r4rVr)r|rUr4rZ)r4ztyping.Generator[None]r")rrZrrVr4r3r]r^r_r`rY)rrZrr[r4ztyping.Generator[bytes])rrZr4r3rX)rrr4rP)r4r\)$r6r7r8r9rrDr!r$rdr'rrrrurrrrrrrrr'r*rrr/rrrrrrerr: __classcell__)r~s@r(rr9sDRV&! $#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&*# H H$H H  HX&*4- 4-$4-  4-nFJ7B 8, "   $'L$.EIK0K06AK0 K0Z!! ZZ  ##r,r)rrr4r)R __future__rrrrrloggingrerrtypingrDrA contextlibr http.clientr_HttplibHTTPMessager_HttplibHTTPResponserr TYPE_CHECKING_base_connectionr brotlicffirm ImportErrorrr r _collectionsr rr rr exceptionsrrrrrrrrrr util.responserr util.retryrconnectionpoolr getLoggerr6rrr<rSrZrj compressionrvrrx zstandardtuplemaprsearch __version__groups _zstd_versionAttributeErrorrrrrrrr1r,r(r s"   %:<+ 4# ((CC   = 2 !$$!^!@ !.!< "> Hnv>*$FFRpryypfb ##b #C  Fh%$  RYY5t7G7GHOOQ R  7 "AB B #  .  K 4%s[ EE5 E# E&"E##E&&E21E25G)