Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/urllib3/__pycache__/response.cpython-312.pyc

331 lines
51 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
f<> i<><69><00>
<01><><00>ddlmZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddl Z ddl Z ddl mZddlmZddlmZddlmZe
j,rddlmZ ddlZdd lmZdd
lmZdd lm Z dd l!m"Z"m#Z#m$Z$dd l%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/ddl0m1Z1m2Z2ddl3m4Z4e
j,rddl5m6Z6ejne8<65>Z9Gd<11>d<12>Z:Gd<13>de:<3A>Z;Gd<15>d<16>Z<Gd<17>de:<3A>Z=e<1A> Gd<19>de:<3A>Z> ddl?m@Z@dZAGd<1D>de:<3A>ZBGd$<24>d%e:<3A>ZMd-d&<26>ZNGd'<27>d(<28>ZOGd)<29>d*ej<><00>ZQGd+<2B>d,eQ<65>Zy#e$rddlZY<00><>wxYw#e$rdZY<00><01>wxYw#e$rl ddlCZ@eDeEeFej<>de@j<><00>j<><00><00><00>ZJeJd kred!<21><00> dZAGd"<22>de:<3A>ZBn#eKeeLf$rd#ZAYnwxYwY<00><>wxYw).<2E>)<01> annotationsN)<01>contextmanager)<01> HTTPMessage)<01> HTTPResponse)<01>timeout<75>)<01>BaseHTTPConnection)<01>util)<01>
_TYPE_BODY)<01>HTTPHeaderDict)<03> BaseSSLError<6F>HTTPConnection<6F> HTTPException)
<EFBFBD>BodyNotHttplibCompatible<6C> DecodeError<6F> HTTPError<6F>IncompleteRead<61>InvalidChunkLength<74> InvalidHeader<65> ProtocolError<6F>ReadTimeoutError<6F>ResponseNotChunked<65>SSLError)<02> is_fp_closed<65>is_response_to_head)<01>Retry)<01>HTTPConnectionPoolc<01><00>eZdZdd<01>Zdd<02>Zy)<06>ContentDecoderc<01><00>t<00><00><01>N<><01>NotImplementedError<6F><02>self<6C>datas <20>?E:\Project\pygoedge\.venv\Lib\site-packages\urllib3/response.py<70>
decompresszContentDecoder.decompress7<00> <00><00>!<21>#<23>#<23>c<01><00>t<00><00>r!r"<00>r%s r'<00>flushzContentDecoder.flush:r)r*N<>r&<00>bytes<65>returnr/<00>r0r/)<05>__name__<5F>
__module__<EFBFBD> __qualname__r(r-<00>r*r'rr6s <00><00>$<24>$r*rc<01>$<00>eZdZdd<01>Zdd<02>Zdd<03>Zy)<08>DeflateDecoderc<01>R<00>d|_d|_tj<00>|_y)NTr*)<05>
_first_try<EFBFBD>_data<74>zlib<69> decompressobj<62>_objr,s r'<00>__init__zDeflateDecoder.__init__?s <00><00><1E><04><0F><18><04>
<EFBFBD><18>&<26>&<26>(<28><04> r*c<01><><00>|s|S|js|jj|<01>S|xj|z c_ |jj|<01>}|rd|_d|_|S#tj
$rbd|_t j tj <00>|_ |j|j<00>d|_cYS#d|_wxYwwxYw)NF)r9r=r(r:r;<00>errorr<<00> MAX_WBITS)r%r&<00> decompresseds r'r(zDeflateDecoder.decompressDs<><00><00><13><17>K<EFBFBD><13><EFBFBD><EFBFBD><17>9<EFBFBD>9<EFBFBD>'<27>'<27><04>-<2D> -<2D> <0C>
<EFBFBD>
<EFBFBD>d<EFBFBD><1A>
<EFBFBD> "<22><1F>9<EFBFBD>9<EFBFBD>/<2F>/<2F><04>5<>L<EFBFBD><1B>"'<27><04><0F>!<21><04>
<EFBFBD><1F> <1F><><13>z<EFBFBD>z<EFBFBD> "<22>#<23>D<EFBFBD>O<EFBFBD><1C>*<2A>*<2A>D<EFBFBD>N<EFBFBD>N<EFBFBD>?<3F>;<3B>D<EFBFBD>I<EFBFBD> "<22><1B><EFBFBD><EFBFBD>t<EFBFBD>z<EFBFBD>z<EFBFBD>2<>!<21><04>
<EFBFBD><EFBFBD>T<EFBFBD><04>
<EFBFBD><EFBFBD>  "<22>s%<00>,A/<00>/AC$<03>3C<02> C$<03> C <05> C$c<01>6<00>|jj<00>Sr!<00>r=r-r,s r'r-zDeflateDecoder.flushZ<00><00><00><13>y<EFBFBD>y<EFBFBD><EFBFBD><EFBFBD> <20> r*N<>r0<00>Noner.r1<00>r2r3r4r>r(r-r5r*r'r7r7>s<00><00>)<29>
"<22>,!r*r7c<01><00>eZdZdZdZdZy)<05>GzipDecoderStaterr<00>N)r2r3r4<00> FIRST_MEMBER<45> OTHER_MEMBERS<52> SWALLOW_DATAr5r*r'rJrJ^s<00><00><14>L<EFBFBD><15>M<EFBFBD><14>Lr*rJc<01>$<00>eZdZdd<01>Zdd<02>Zdd<03>Zy)<08> GzipDecoderc<01><><00>tjdtjz<00>|_tj
|_y<00>N<>)r;r<rAr=rJrL<00>_stater,s r'r>zGzipDecoder.__init__es*<00><00><18>&<26>&<26>r<EFBFBD>D<EFBFBD>N<EFBFBD>N<EFBFBD>':<3A>;<3B><04> <09>&<26>3<>3<><04> r*c<01>$<00>t<00>}|jtjk(s|s t |<02>S ||j
j |<01>z }|j
j}|s t |<02>Stj|_tjdtjz<00>|_<00><>#tj$rC|j}tj|_|tjk(r t |<02>cYS<00>wxYwrR) <0A> bytearrayrTrJrNr/r=r(r;r@rM<00> unused_datar<rA)r%r&<00>ret<65>previous_states r'r(zGzipDecoder.decompressis<><00><00><17>k<EFBFBD><03> <0F>;<3B>;<3B>*<2A>7<>7<> 7<>t<EFBFBD><18><13>:<3A> <1D><12> <16><13>t<EFBFBD>y<EFBFBD>y<EFBFBD>+<2B>+<2B>D<EFBFBD>1<>1<><03><18>9<EFBFBD>9<EFBFBD>(<28>(<28>D<EFBFBD><17><1C>S<EFBFBD>z<EFBFBD>!<21>*<2A>8<>8<>D<EFBFBD>K<EFBFBD><1C>*<2A>*<2A>2<EFBFBD><04><0E><0E>+><3E>?<3F>D<EFBFBD>I<EFBFBD><13><><18>:<3A>:<3A> <16>!%<25><1B><1B><0E>.<2E>;<3B>;<3B><04> <0B>!<21>%5<>%C<>%C<>C<> <20><13>:<3A>%<25><15> <16>s<00>B9<00>9AD<03> Dc<01>6<00>|jj<00>Sr!rDr,s r'r-zGzipDecoder.flush~rEr*NrFr.r1rHr5r*r'rPrPds<00><00>4<>@<01>*!r*rPc<01><00>eZdZdd<01>Zdd<02>Zy)<06> BrotliDecoderc<01><><00>tj<00>|_t|jd<01>r"t |d|jj
<00>yt |d|jj <00>y)Nr()<07>brotli<6C> Decompressorr=<00>hasattr<74>setattrr(<00>processr,s r'r>zBrotliDecoder.__init__<5F>sL<00><00><1E>+<2B>+<2B>-<2D>D<EFBFBD>I<EFBFBD><16>t<EFBFBD>y<EFBFBD>y<EFBFBD>,<2C>/<2F><17><04>l<EFBFBD>D<EFBFBD>I<EFBFBD>I<EFBFBD>,@<40>,@<40>A<><17><04>l<EFBFBD>D<EFBFBD>I<EFBFBD>I<EFBFBD>,=<3D>,=<3D>>r*c<01>d<00>t|jd<01>r|jj<00>Sy)Nr-r*)r`r=r-r,s r'r-zBrotliDecoder.flush<73>s$<00><00><16>t<EFBFBD>y<EFBFBD>y<EFBFBD>'<27>*<2A><1B>y<EFBFBD>y<EFBFBD><EFBFBD><EFBFBD>(<28>(<28>r*NrFr1)r2r3r4r>r-r5r*r'r\r\<00>s <00><00> ?<3F> r*r\)<01>zstdTc<01>$<00>eZdZdd<01>Zdd<02>Zdd<03>Zy)<08> ZstdDecoderc<01>6<00>tj<00>|_yr!)rd<00>ZstdDecompressorr=r,s r'r>zZstdDecoder.__init__<5F>s<00><00><1C>-<2D>-<2D>/<2F>D<EFBFBD>Ir*c<01><><00>|sy|jj|<01>g}|jjr<>|jjr<>|jj}t j
<00>|_|j |jj|<03><00>|jjr|jjr<01><>dj|<02>S<00>Nr*)r=r(<00>eofrWrdrh<00>append<6E>join<69>r%r&<00>
data_partsrWs r'r(zZstdDecoder.decompress<73>s<><00><00><17><1A><1E>)<29>)<29>.<2E>.<2E>t<EFBFBD>4<>5<>J<EFBFBD><16>)<29>)<29>-<2D>-<2D>D<EFBFBD>I<EFBFBD>I<EFBFBD>$9<>$9<>"<22>i<EFBFBD>i<EFBFBD>3<>3<> <0B> <20>1<>1<>3<><04> <09><1A>!<21>!<21>$<24>)<29>)<29>"6<>"6<>{<7B>"C<>D<><17>)<29>)<29>-<2D>-<2D>D<EFBFBD>I<EFBFBD>I<EFBFBD>$9<>$9<><17>8<EFBFBD>8<EFBFBD>J<EFBFBD>'<27> 'r*c<01>F<00>|jjs td<01><00>y)N<>Zstandard data is incompleter*)r=rkrr,s r'r-zZstdDecoder.flush<73>s<00><00><17>9<EFBFBD>9<EFBFBD>=<3D>=<3D>!<21>"@<40>A<>A<>r*NrFr.r1rHr5r*r'rfrf<00>s<00><00> 0<> (<28> r*rfz^([0-9]+)\.([0-9]+))r<00>z!zstandard module doesn't have eofc<01>$<00>eZdZdd<01>Zdd<02>Zdd<03>Zy)rfc<01>R<00>tj<00>j<00>|_yr!)rdrhr<r=r,s r'r>zZstdDecoder.__init__<5F>s<00><00> <20>1<>1<>3<>A<>A<>C<><04> r*c<01><><00>|sy|jj|<01>g}|jjr<>|jjr<>|jj}t j
<00>j <00>|_|j|jj|<03><00>|jjr|jjr<01><>dj|<02>Srj) r=r(rkrWrdrhr<rlrmrns r'r(zZstdDecoder.decompress<73>s<><00><00><1B><1E>"<22>i<EFBFBD>i<EFBFBD>2<>2<>4<EFBFBD>8<>9<>
<EFBFBD><1A>i<EFBFBD>i<EFBFBD>m<EFBFBD>m<EFBFBD><04> <09> <09>(=<3D>(=<3D>"&<26>)<29>)<29>"7<>"7<>K<EFBFBD> $<24> 5<> 5<> 7<> E<> E<> G<>D<EFBFBD>I<EFBFBD><1E>%<25>%<25>d<EFBFBD>i<EFBFBD>i<EFBFBD>&:<3A>&:<3A>;<3B>&G<>H<><1B>i<EFBFBD>i<EFBFBD>m<EFBFBD>m<EFBFBD><04> <09> <09>(=<3D>(=<3D><1B>x<EFBFBD>x<EFBFBD>
<EFBFBD>+<2B>+r*c<01>|<00>|jj<00>}|jjs td<01><00>|S)Nrq)r=r-rkr)r%rXs r'r-zZstdDecoder.flush<73>s.<00><00><1A>i<EFBFBD>i<EFBFBD>o<EFBFBD>o<EFBFBD>'<27><03><1B>y<EFBFBD>y<EFBFBD>}<7D>}<7D>%<25>&D<>E<>E<><1A>
r*NrFr.r1rHr5r*r'rfrf<00>s<00><00> D<01> ,<2C> r*Fc<01>(<00>eZdZdZdd<02>Zdd<03>Zdd<04>Zy) <09> MultiDecodera
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.
c<01><><00>|jd<01>D<00>cgc]}t|j<00><00><00><02>c}|_ycc}w)N<>,)<04>split<69> _get_decoder<65>strip<69> _decoders)r%<00>modes<65>ms r'r>zMultiDecoder.__init__<5F>s1<00><00>;@<40>;<3B>;<3B>s<EFBFBD>;K<>L<>;K<>a<EFBFBD>,<2C>q<EFBFBD>w<EFBFBD>w<EFBFBD>y<EFBFBD>1<>;K<>L<><04><0E><>Ls<00> =c<01><<00>|jdj<00>S<00>Nr)r~r-r,s r'r-zMultiDecoder.flush<73>s<00><00><13>~<7E>~<7E>a<EFBFBD> <20>&<26>&<26>(<28>(r*c<01>\<00>t|j<00>D]}|j|<01>}<01>|Sr!)<03>reversedr~r()r%r&<00>ds r'r(zMultiDecoder.decompress<73>s(<00><00><19>$<24>.<2E>.<2E>)<29>A<EFBFBD><14><<3C><<3C><04>%<25>D<EFBFBD>*<2A><13> r*N)r<00>strr0rGr1r.)r2r3r4<00>__doc__r>r-r(r5r*r'rxrx<00>s<00><00><08>M<01>)<29>r*rxc<01><><00>d|vr t|<00>S|dvr
t<00>St<00>|dk(r
t<00>Str|dk(r
t <00>St <00>S)Nrz)<02>gzip<69>x-gzip<69>brrd)rxrPr^r\<00>HAS_ZSTDrfr7)<01>modes r'r|r|<00>sU<00><00>
<EFBFBD>d<EFBFBD>{<7B><1B>D<EFBFBD>!<21>!<21> <0C>!<21>!<21><1A>}<7D><1C> <0A><19>d<EFBFBD>d<EFBFBD>l<EFBFBD><1C><EFBFBD><1E><0F>D<EFBFBD>F<EFBFBD>N<EFBFBD><1A>}<7D><1C> <19> <1B>r*c<01>8<00>eZdZdZdd<02>Zd d<03>Zd
d<04>Zd d<05>Zd d<06>Zy) <0A>BytesQueueBuffera 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()
The worst case scenario is a single chunk, in which case we'll make a full copy of
the data inside get().
c<01>D<00>tj<00>|_d|_yr<>)<04> collections<6E>deque<75>buffer<65>_sizer,s r'r>zBytesQueueBuffer.__init__s<00><00>+6<>+<<3C>+<<3C>+><3E><04> <0B><1B><04>
r*c<01><00>|jSr!)r<>r,s r'<00>__len__zBytesQueueBuffer.__len__s <00><00><13>z<EFBFBD>z<EFBFBD>r*c<01>v<00>|jj|<01>|xjt|<01>z c_yr!)r<>rlr<><00>lenr$s r'<00>putzBytesQueueBuffer.puts&<00><00> <0C> <0B> <0B><1A><1A>4<EFBFBD> <20> <0C>
<EFBFBD>
<EFBFBD>c<EFBFBD>$<24>i<EFBFBD><1F>
r*c<01>d<00>|dk(ry|js td<03><00>|dkr td<04><00>d}tj<00>}||kr<>||z
}|jj <00>}t |<05>}||kr\|d|||d}}|j|<07>|jj|<08>|xj|zc_ |j<00>S|j|<05>|xj|zc_ ||z }|js |j<00>S||kr<01><>|j<00>S)Nrr*zbuffer is emptyzn should be > 0) r<><00> RuntimeError<6F>
ValueError<EFBFBD>io<69>BytesIO<49>popleftr<74><00>write<74>
appendleftr<EFBFBD><00>getvalue) r%<00>n<>fetchedrX<00> remaining<6E>chunk<6E> chunk_length<74>
left_chunk<EFBFBD> right_chunks r'<00>getzBytesQueueBuffer.gets<00><00> <0C><01>6<EFBFBD><16><15><1B><1B><1E>0<>1<> 1<> <0E><11>U<EFBFBD><1C>.<2E>/<2F> /<2F><13><07><10>j<EFBFBD>j<EFBFBD>l<EFBFBD><03><15><01>k<EFBFBD><19>G<EFBFBD> <0B>I<EFBFBD><18>K<EFBFBD>K<EFBFBD>'<27>'<27>)<29>E<EFBFBD><1E>u<EFBFBD>:<3A>L<EFBFBD><18><<3C>'<27>*/<2F>
<EFBFBD><19>*;<3B>U<EFBFBD>9<EFBFBD>:<3A>=N<>K<EFBFBD>
<EFBFBD><13> <09> <09>*<2A>%<25><14> <0B> <0B>&<26>&<26>{<7B>3<><14>
<EFBFBD>
<EFBFBD>i<EFBFBD>'<27>
<EFBFBD><15><13>|<7C>|<7C>~<7E><1D><14> <09> <09>%<25> <20><14>
<EFBFBD>
<EFBFBD>l<EFBFBD>*<2A>
<EFBFBD> <13>|<7C> #<23>G<EFBFBD><17>;<3B>;<3B><15><12>|<7C>|<7C>~<7E><1D>%<16><01>k<EFBFBD>$<13>|<7C>|<7C>~<7E>r*c<01>4<00><03>|j<00><03>s|jdk(sJ<00>yt<00><03>dk(r<11>j<00>}nPt j
<00>}|j <00>fd<04>tt<00><03><00>D<00><00>|j<00>}d|_|S)Nrr*rc3<01>><00>K<00>|]}<01>j<00><00><01><00>y<00>wr!)r<>)<03>.0<EFBFBD>_r<5F>s <20>r'<00> <genexpr>z+BytesQueueBuffer.get_all.<locals>.<genexpr>@s<00><><00><><00>H<>5G<35><01>6<EFBFBD>><3E>><3E>+<2B>5G<35>s<00>) r<>r<>r<><00>popr<70>r<><00>
writelines<EFBFBD>ranger<65>)r%<00>resultrXr<>s @r'<00>get_allzBytesQueueBuffer.get_all7sv<00><><00><15><1B><1B><06><15><17>:<3A>:<3A><11>?<3F> "<22>?<3F><16> <0E>v<EFBFBD>;<3B>!<21> <1B><1B>Z<EFBFBD>Z<EFBFBD>\<5C>F<EFBFBD><14>*<2A>*<2A>,<2C>C<EFBFBD> <0F>N<EFBFBD>N<EFBFBD>H<>U<EFBFBD>3<EFBFBD>v<EFBFBD>;<3B>5G<35>H<> H<><18>\<5C>\<5C>^<5E>F<EFBFBD><16><04>
<EFBFBD><15> r*NrF<00>r0<00>int)r&r/r0rG)r<>r<>r0r/r1) r2r3r4r<>r>r<>r<>r<>r<>r5r*r'r<>r<><00>s <00><00><08> <1C><1A> <20><1E>< r*r<>c<01>X<00>eZdZUgd<01>Ze<04>edgz Zeredgz Zgd<05>ZeejfZ
de d<e<04>e
ejfz Z
ere
e jfz Z
ddd<08> d"d <09>Zd#d
<EFBFBD>Zed$d <0B><04>Zd%d <0C>Zed&d <0A><04>Zej(d'd<0E><04>Zed(d<0F><04>Zed)d<10><04>Zej(d*d<11><04>Z d+ d,d<12>Z d- d.d<13>Z d/ d0d<14>Z d/ d,d<15>Zd1d<16>Zd1d<17>Zd1d<18>Zd1d<19>Zd1d<1A>Z d2d<1B>Z d$d<1C>Z!d3d<1D>Z"d4d<1E>Z#d5d6d<1F>Z$d4d <20>Z%d&d!<21>Z&y)7<>BaseHTTPResponse)r<>r<><00>deflateNr<4E>rd)i-i.i/i3i4ztuple[type[Exception], ...]<5D>DECODER_ERROR_CLASSES)<02>headers<72>retriesc<01>~<00>t|t<00>r||_nt|<01>|_||_||_||_||_||_d|_||_ ||_
d|_ |jjdd<03>j<00>} d<04>| jd<05>D<00>}
d|
vrd|_ d|_|y)NFztransfer-encoding<6E>c3<01><K<00>|]}|j<00><00><01><00>y<00>wr!)r})r<><00>encs r'r<>z,BaseHTTPResponse.__init__.<locals>.<genexpr>qs<00><00><><00>><3E>,=<3D>S<EFBFBD>S<EFBFBD>Y<EFBFBD>Y<EFBFBD>[<5B>,=<3D>s<00>rz<00>chunkedT)<10>
isinstancer r<><00>status<75>version<6F>version_string<6E>reason<6F>decode_content<6E>_has_decoded_content<6E> _request_urlr<6C>r<>r<><00>lowerr{<00>_decoder) r%r<>r<>r<>r<>r<>r<><00> request_urlr<6C><00>tr_enc<6E> encodingss r'r>zBaseHTTPResponse.__init__Us<><00><00> <16>g<EFBFBD>~<7E> .<2E>"<22>D<EFBFBD>L<EFBFBD>)<29>'<27>2<>D<EFBFBD>L<EFBFBD><1C><04> <0B><1E><04> <0C>,<2C><04><1B><1C><04> <0B>,<2C><04><1B>$)<29><04>!<21>(3<><04><19><1E><04> <0C><1C><04> <0C><15><1C><1C>!<21>!<21>"5<>r<EFBFBD>:<3A>@<40>@<40>B<><06>><3E>F<EFBFBD>L<EFBFBD>L<EFBFBD><13>,=<3D>><3E> <09> <14> <09> !<21><1F>D<EFBFBD>L<EFBFBD>/3<><04> <0A> r*c<01>j<00>|j|jvr|jjd<01>Sy)a
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.
<20>locationF)r<><00>REDIRECT_STATUSESr<53>r<>r,s r'<00>get_redirect_locationz&BaseHTTPResponse.get_redirect_locationxs.<00><00> <10>;<3B>;<3B>$<24>0<>0<> 0<><17><<3C><<3C>#<23>#<23>J<EFBFBD>/<2F> /<2F>r*c<01><00>t<00><00>r!r"r,s r'r&zBaseHTTPResponse.data<74><00> <00><00>!<21>#<23>#r*c<01>b<00>|jjd<01>}tj|<01>S)a<>
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 <https://www.rfc-editor.org/rfc/rfc8259#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 <json_content>`.
:returns: The body of the HTTP response as a Python object.
zutf-8)r&<00>decode<64>_json<6F>loadsr$s r'<00>jsonzBaseHTTPResponse.json<6F>s'<00><00>$<14>y<EFBFBD>y<EFBFBD><1F><1F><07>(<28><04><14>{<7B>{<7B>4<EFBFBD> <20> r*c<01><00>t<00><00>r!r"r,s r'<00>urlzBaseHTTPResponse.url<72>r<>r*c<01><00>t<00><00>r!r"<00>r%r<>s r'r<>zBaseHTTPResponse.url<72>r<>r*c<01><00>t<00><00>r!r"r,s r'<00>
connectionzBaseHTTPResponse.connection<6F>r<>r*c<01><00>|jSr!)<01>_retriesr,s r'r<>zBaseHTTPResponse.retries<65>s <00><00><13>}<7D>}<7D>r*c<01>j<00>|<01>*|jr|jdj|_||_y)N<><4E><EFBFBD><EFBFBD><EFBFBD>)<04>history<72>redirect_locationr<6E>r<>)r%r<>s r'r<>zBaseHTTPResponse.retries<65>s-<00><00> <13> <1E>7<EFBFBD>?<3F>?<3F><1E><EFBFBD><EFBFBD>r<EFBFBD>*<2A><<3C><<3C>D<EFBFBD>H<EFBFBD><1F><04> r*c<01><00>t<00><00>r!r"<00>r%<00>amtr<74>s r'<00>streamzBaseHTTPResponse.stream<61>s <00><00>"<22>#<23>#r*c<01><00>t<00><00>r!r")r%r<>r<><00> cache_contents r'<00>readzBaseHTTPResponse.read<61>s <00><00> "<22>#<23>#r*c<01><00>t<00><00>r!r"r<>s r'<00>read1zBaseHTTPResponse.read1<64><00> <00><00>
"<22>#<23>#r*c<01><00>t<00><00>r!r"r<>s r'<00> read_chunkedzBaseHTTPResponse.read_chunked<65>r<>r*c<01><00>t<00><00>r!r"r,s r'<00> release_connzBaseHTTPResponse.release_conn<6E>r)r*c<01><00>t<00><00>r!r"r,s r'<00>
drain_connzBaseHTTPResponse.drain_conn<6E>r)r*c<01><00>t<00><00>r!r"r,s r'<00>shutdownzBaseHTTPResponse.shutdown<77>r)r*c<01><00>t<00><00>r!r"r,s r'<00>closezBaseHTTPResponse.close<73>r)r*c<01>z<00>|jjdd<02>j<00>}|j<00><>||jvrt |<01>|_yd|vr\|j d<04>D<00>cgc].}|j<00>|jvr|j<00><00><02>0}}|rt |<01>|_yyyycc}w)z=
Set-up the _decoder attribute if necessary.
<20>content-encodingr<67>Nrz)r<>r<>r<>r<><00>CONTENT_DECODERSr|r{r})r%<00>content_encoding<6E>er<65>s r'<00> _init_decoderzBaseHTTPResponse._init_decoder<65>s<><00><00>  <20><<3C><<3C>+<2B>+<2B>,><3E><02>C<>I<>I<>K<><18> <0F>=<3D>=<3D> <20><1F>4<EFBFBD>#8<>#8<>8<> ,<2C>-=<3D> ><3E><04> <0A><14>(<28>(<28>.<2E>3<>3<>C<EFBFBD>8<><12>8<><01><18>w<EFBFBD>w<EFBFBD>y<EFBFBD>D<EFBFBD>$9<>$9<>9<><16>G<EFBFBD>G<EFBFBD>I<EFBFBD>8<><1A><12>
<1D>$0<>1A<31>$B<>D<EFBFBD>M<EFBFBD><1D> )<29> !<21><>s<00>-3B8c<01>f<00>|s|jr td<01><00>|S |jr"|jj|<01>}d|_|r||j<00>z }|S#|j$r?}|j
j dd<04>j<00>}td|z|<04>|<04>d}~wwxYw)zN
Decode the data passed in and potentially flush the decoder.
<20>_Calling read(decode_content=False) is not supported after read(decode_content=True) was called.Tr<54>r<>zEReceived response with content-encoding: %s, but failed to decode it.N)
r<EFBFBD>r<>r<>r(r<>r<>r<>r<>r<00>_flush_decoder)r%r&r<><00> flush_decoderr<72>r<>s r'<00>_decodezBaseHTTPResponse._decode<64>s<><00><00> <1E><13>(<28>(<28>"<22><<3C><12><12><18>K<EFBFBD>
<15><13>}<7D>}<7D><1B>}<7D>}<7D>/<2F>/<2F><04>5<><04>,0<><04>)<29> <19> <10>D<EFBFBD>'<27>'<27>)<29> )<29>D<EFBFBD><13> <0B><><14>)<29>)<29> <15>#<23>|<7C>|<7C>/<2F>/<2F>0B<30>B<EFBFBD>G<>M<>M<>O<> <1C><1D>'<27>)9<>:<3A><11><0E><15>  <15><> <15>s<00>.A"<00>"B0<03>1:B+<03>+B0c<01><><00>|jr6|jjd<01>|jj<00>zSy)zk
Flushes the decoder. Should only be called if the decoder is actually
being used.
r*)r<>r(r-r,s r'rzBaseHTTPResponse._flush_decoder s5<00><00>
<10>=<3D>=<3D><17>=<3D>=<3D>+<2B>+<2B>C<EFBFBD>0<>4<EFBFBD>=<3D>=<3D>3F<33>3F<33>3H<33>H<> H<>r*c<01><><00>|jt|<01><00>}t|<02>dk(ry||dt|<02>t|<02>Sr<>)r<>r<>)r%<00>b<>temps r'<00>readintozBaseHTTPResponse.readintos;<00><00><13>y<EFBFBD>y<EFBFBD><13>Q<EFBFBD><16> <20><04> <0E>t<EFBFBD>9<EFBFBD><01>><3E><14>!<21>A<EFBFBD>k<EFBFBD><03>D<EFBFBD> <09>N<EFBFBD><16>t<EFBFBD>9<EFBFBD> r*c<01>R<00>tjdtd<02><03>|jS)Nz|HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.6.0. Instead access HTTPResponse.headers directly.rK<00><02>category<72>
stacklevel)<04>warnings<67>warn<72>DeprecationWarningr<67>r,s r'<00>
getheaderszBaseHTTPResponse.getheaderss&<00><00><10> <0A> <0A> O<01>'<27><18> 
<EFBFBD> <14>|<7C>|<7C>r*c<01>r<00>tjdtd<02><03>|jj ||<02>S)Nz<4E>HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.6.0. Instead use HTTPResponse.headers.get(name, default).rKr )rrrr<>r<>)r%<00>name<6D>defaults r'<00> getheaderzBaseHTTPResponse.getheader(s3<00><00><10> <0A> <0A> V<01>'<27><18> 
<EFBFBD> <14>|<7C>|<7C><1F><1F><04>g<EFBFBD>.<2E>.r*c<01><00>|jSr!)r<>r,s r'<00>infozBaseHTTPResponse.info2s <00><00><13>|<7C>|<7C>r*c<01><00>|jSr!)r<>r,s r'<00>geturlzBaseHTTPResponse.geturl5s <00><00><13>x<EFBFBD>x<EFBFBD>r*)r<><00>>typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | Noner<65>r<>r<>r<>r<>r<>r<><00>
str | Noner<65><00>boolr<6C>rr<><00> Retry | Noner0rG)r0z"str | None | typing.Literal[False]r1)r0z
typing.Any<6E>r0r)r<>rr0rG)r0zBaseHTTPConnection | None)r0r)r<>rr0rG<00>iN)r<><00>
int | Noner<65><00> bool | Noner0<00>typing.Iterator[bytes]<5D>NNF<4E>r<>r r<>r!r<>rr0r/<00>NN<4E>r<>r r<>r!r0r/rF)r&r/r<>r!rrr0r/)rrVr0r<>)r0r r!)rr<>rrr0r)'r2r3r4r<>r^r<>r<><00>IOErrorr;r@r<><00>__annotations__rd<00> ZstdErrorr>r<><00>propertyr&r<>r<><00>setterr<72>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rrr rrrrr5r*r'r<>r<>Fsr<00><00>4<><14> <0A><19><18>T<EFBFBD>F<EFBFBD>"<22><18><0F><18>V<EFBFBD>H<EFBFBD>$<24><18>1<><15>:A<>4<EFBFBD>:<3A>:<3A>9N<39><19>6<>N<> <0A><19><1D>&<26>,<2C>,<2C><1F>0<><1D><0F><1D>$<24>.<2E>.<2E>!2<>2<><1D>
SW<01>!%<25>!*<2A>P<01>!*<2A><14> !*<2A>
<15> !*<2A> <1C> !*<2A><1B>!*<2A><1D>!*<2A> <20>!*<2A><1E>!*<2A>
<0E>!*<2A>F
<15><0E>$<24><0E>$<24>!<21>*<0E>$<24><0E>$<24> <09>Z<EFBFBD>Z<EFBFBD>$<24><10>$<24><0E>$<24><0E>$<24><0E><1D><0E><1D> <0A>^<5E>^<5E> <20><14> <20>FJ<01>$<24><1D>$<24>7B<37>$<24> <1F>$<24><1F>&*<2A>#<23> $<24> <17>$<24>$<24>$<24><1C> $<24>
<0F> $<24><1F>&*<2A>$<24> <17>$<24>$<24>$<24>
<0F> $<24><1F>&*<2A>$<24> <17>$<24>$<24>$<24>
<20> $<24>$<24>$<24>$<24>$<24>C<01>&<14><19><14>+6<><14>GK<47><14> <0E><14><<13><1D><1C>/<2F><1C>r*r<>c<01><00><00>eZdZdZ d d <20>fd<02> Zd!d<03>Zd!d<04>Zed"d<05><04>Zed#d<06><04>Z d$d<07>Z
d%d<08>Z d&d <09>Z e d'd
<EFBFBD><04>Z d(d d <0C> d)d <0A>Z d(d d <0C> d)d<0E>Z d* d+d<0F>Z d, d-d<10>Z d. d/d<11>Zd$d<12>Zd!d<13>Zd!d<14>Zed$d<15><04>Zd%d<16>Zd!d<17>Zd$d<18>Zd!d<19>Zd0d<1A>Z d, d/d<1B>Zed1d<1C><04>Zej>d2d<1D><04>Zd3d<1E>Z <20>xZ!S)4ra<>
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
<01><><00><01>t<00>|<00>|||||||| <0A><01>||_||_d|_d|_| |_d|_| |_|rt|ttf<02>r||_|
|_ | |_ t|d<03>r||_||_d|_|j#|<0F>|_t'<00>|_|r%|js|j+|<08><04>|_yyy)N)r<>r<>r<>r<>r<>r<>r<>r<>rr<><00>r<>)<16>superr><00>enforce_content_length<74>
auto_close<EFBFBD>_body<64>_fp<66>_original_response<73>_fp_bytes_read<61>msgr<67>r<>r/<00>_pool<6F> _connectionr`<00>_sock_shutdown<77>
chunk_left<EFBFBD> _init_length<74>length_remainingr<67><00>_decoded_bufferr<72>)r%<00>bodyr<79>r<>r<>r<>r<><00>preload_contentr<74><00>original_response<73>poolr<6C>r6r<>r0<00>request_methodr<64>r1<00> sock_shutdown<77> __class__s <20>r'r>zHTTPResponse.__init__Zs<><00><><00>* <0E><07><18><1B><19><1B>)<29><19>)<29>#<23><1B> <19>
<EFBFBD>'=<3D><04>#<23>$<24><04><0F><19><04>
<EFBFBD>04<EFBFBD><04><08>"3<><04><1F><1F><04><1B><16><04><08> <0F>J<EFBFBD>t<EFBFBD>c<EFBFBD>5<EFBFBD>\<5C>2<><1D>D<EFBFBD>J<EFBFBD><19><04>
<EFBFBD>%<25><04><18> <12>4<EFBFBD><16> <20><1B>D<EFBFBD>H<EFBFBD>+<2B><04><1B>'+<2B><04><0F>!%<25> 1<> 1<>.<2E> A<><04><1D> 0<>1<><04><1C> <1B>4<EFBFBD>:<3A>:<3A><1D><19><19>.<2E><19>A<>D<EFBFBD>J<EFBFBD>$.<2E>?r*c<01><><00>|jr |jsy|jj|j<00>d|_yr!)r7r8<00> _put_connr,s r'r<>zHTTPResponse.release_conn<6E>s4<00><00><13>z<EFBFBD>z<EFBFBD><14>!1<>!1<><17> <0C>
<EFBFBD>
<EFBFBD><1C><1C>T<EFBFBD>-<2D>-<2D>.<2E><1F><04>r*c<01>d<00> |j<00>y#ttttf$rYywxYw)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<>r<00>OSErrorr rr,s r'r<>zHTTPResponse.drain_conn<6E>s+<00><00>  <11> <10>I<EFBFBD>I<EFBFBD>K<EFBFBD><4B><19>7<EFBFBD>L<EFBFBD>-<2D>@<40> <11> <10> <11>s <00><00>/<03>/c<01>p<00>|jr |jS|jr|jd<01><02>Sy)NT)r<>)r2r3r<>r,s r'r&zHTTPResponse.data<74>s0<00><00> <10>:<3A>:<3A><17>:<3A>:<3A> <1D> <0F>8<EFBFBD>8<EFBFBD><17>9<EFBFBD>9<EFBFBD>4<EFBFBD>9<EFBFBD>0<> 0<>r*c<01><00>|jSr!)r8r,s r'r<>zHTTPResponse.connection<6F>s<00><00><13><1F><1F>r*c<01>,<00>t|j<00>Sr!)rr3r,s r'<00>isclosedzHTTPResponse.isclosed<65>s<00><00><1B>D<EFBFBD>H<EFBFBD>H<EFBFBD>%<25>%r*c<01><00>|jS)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).
)r5r,s r'<00>tellzHTTPResponse.tell<6C>s<00><00> <14>"<22>"<22>"r*c<01><><00>|jjd<01>}|<02>~|jrtj d<03>y |j d<04>D<00>chc] }t |<03><00><02>}}t|<04>dkDrtd|z<00><00>|j<00>}|dkrd}nd} t |j<00>}|dvsd |cxkrd
ksn|d k(rd}|Scc}w#t$rd}Y<00>BwxYw#t$rd}Y<00>=wxYw) zM
Set initial length value for Response content if available.
zcontent-lengthNz<4E>Received 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.rzrz8Content-Length contained multiple unmatching values (%s)r)<02><>i0<00>d<00><><00>HEAD) r<>r<>r<><00>log<6F>warningr{r<>r<>rr<>r<>r<>)r%rB<00>content_length<74>val<61>lengths<68>lengthr<68>s r'r;zHTTPResponse._init_length<74>s<00><00>
&*<2A>\<5C>\<5C>%5<>%5<>6F<36>%G<><0E> <19> %<25><13>|<7C>|<7C><14> <0B> <0B><1F><12><1C> "<22> 0><3E>/C<>/C<>C<EFBFBD>/H<>I<>/H<><03>3<EFBFBD>s<EFBFBD>8<EFBFBD>/H<><07>I<><16>w<EFBFBD><<3C>!<21>#<23>'<27>1<>3A<33>B<01><16><16>!<21><1B><1B><1D><06><1A>A<EFBFBD>:<3A>!<21>F<EFBFBD><1A>F<EFBFBD> <17><18><14><1B><1B>%<25>F<EFBFBD>
<12>Z<EFBFBD> <1F>3<EFBFBD>&<26>#6<>3<EFBFBD>#6<>.<2E>F<EFBFBD>:R<><16>F<EFBFBD><15> <0A><>7J<01><><1E> <1E><1D><06> <1E><><1A> <17><16>F<EFBFBD> <17>s6<00>C<00>C<04>&.C<00>C$<00>C<00> C!<03> C!<03>$ C2<03>1C2c#<01><>K<00>d} d<02><03>d}|sL|jr|jj<00>|jr|jj<00>|jr,|jj<00>r|j!<00>yyy#t$r}t|jdd<03>|<02>d}~wt$r6}dt |<02>vr t |<02>|<02>t|jdd<03>|<02>d}~wt $rL}|j<00>)|j<00>|j|j k(rd}nd|<02><02>}t||<02>|<02>d}~wttf$r}td|<02><02>|<02>|<02>d}~wwxYw#|sL|jr|jj<00>|jr|jj<00>|jr,|jj<00>r|j!<00>wwwxYw<01>w)z<>
Catch low-level python exceptions, instead re-raising urllib3
variants, so that low-level exceptions are not leaked in the
high-level api.
On exit, release the connection back to the pool.
FNzRead timed out.zread operation timed outz!Response may not contain content.zConnection broken: T)<11> SocketTimeoutrr7r r<>rr<00>expected<65>partialrrrHr4r<>r8rLr<>)r%<00>
clean_exitr<EFBFBD><00>args r'<00>_error_catcherzHTTPResponse._error_catcher<65>s<><00><00><><00><1B>
<EFBFBD>5 $<24> K<01><15>><1E>J<EFBFBD><1E><18>*<2A>*<2A><18>+<2B>+<2B>1<>1<>3<>
<18>#<23>#<23><18>$<24>$<24>*<2A>*<2A>,<2C><14>&<26>&<26>4<EFBFBD>+B<>+B<>+K<>+K<>+M<><14>!<21>!<21>#<23>,N<01>&<26><>a!<21> S<01>'<27>t<EFBFBD>z<EFBFBD>z<EFBFBD>4<EFBFBD>9J<39>K<>QR<51>R<><52><1F> S<01>-<2D>S<EFBFBD><11>V<EFBFBD>;<3B>"<22>1<EFBFBD>+<2B>1<EFBFBD>,<2C>&<26>t<EFBFBD>z<EFBFBD>z<EFBFBD>4<EFBFBD>9J<39>K<>QR<51>R<><52>!<21> 3<><15>J<EFBFBD>J<EFBFBD>*<2A><19> <09> <09>-<2D><19>
<EFBFBD>
<EFBFBD>q<EFBFBD>y<EFBFBD>y<EFBFBD>j<EFBFBD>0<>=<3D>C<EFBFBD>/<2F><01>u<EFBFBD>5<>C<EFBFBD>#<23>C<EFBFBD><11>+<2B><11>2<><32>!<21>7<EFBFBD>+<2B> K<01>#<23>&9<>!<21><15>$?<3F><11>C<><11>J<><4A> K<01><><1E><18>*<2A>*<2A><18>+<2B>+<2B>1<>1<>3<>
<18>#<23>#<23><18>$<24>$<24>*<2A>*<2A>,<2C><14>&<26>&<26>4<EFBFBD>+B<>+B<>+K<>+K<>+M<><14>!<21>!<21>#<23>,N<01>&<26>s_<00>G:<01>B<00>E/<00>BG:<01> E,<03>B5<03>5 E,<03>1C2<03>2 E,<03>>AE<03>E,<03>E'<03>'E,<03>,E/<00>/BG7<03>7G:F<>r<>c<01><><00>|jsJ<00>d}|r||kDs|<01><>|jr<>|j|kDr<>tjstj
dkr<>|r|jj |<03>Stj<00>}d}|<01>|dk7r_|<01>t||<05>}||z}n|}|jj|<06>}|s |j<00>S|j|<07>~|<01><01>Y|dk7r<01>_|j<00>S|r7|<01>|jj |<01>S|jj <00>S|<01>|jj|<01>S|jj<00>S)aX
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<><69><EFBFBD>)<02><00>
ir) r3r<r
<00> IS_PYOPENSSL<53>sys<79> version_infor<6F>r<>r<><00>minr<6E>r<>r<>)r%r<>r<><00> c_int_maxr<78><00> max_chunk_amt<6D> chunk_amtr&s r'<00>_fp_readzHTTPResponse._fp_read@sH<00><00>&<14>x<EFBFBD>x<EFBFBD><0F>x<EFBFBD><1D> <09> <10>S<EFBFBD>9<EFBFBD>_<EFBFBD><13> <0B><18>)<29>)<29><18>)<29>)<29>I<EFBFBD>5<><13> <20> <20>C<EFBFBD>$4<>$4<>w<EFBFBD>$><3E><14><1B>x<EFBFBD>x<EFBFBD>~<7E>~<7E>i<EFBFBD>0<>0<><17>Z<EFBFBD>Z<EFBFBD>\<5C>F<EFBFBD>"<22>M<EFBFBD><15>+<2B><13><01><18><16>?<3F> #<23>C<EFBFBD><1D> 7<>I<EFBFBD><17>9<EFBFBD>$<24>C<EFBFBD> -<2D>I<EFBFBD><1B>x<EFBFBD>x<EFBFBD>}<7D>}<7D>Y<EFBFBD>/<2F><04><1B><19><1A>?<3F>?<3F>$<24> $<24><17> <0C> <0C>T<EFBFBD>"<22><18><16>+<2B><13><01><18><1A>?<3F>?<3F>$<24> $<24> <12>*-<2D>/<2F>4<EFBFBD>8<EFBFBD>8<EFBFBD>><3E>><3E>#<23>&<26> O<>t<EFBFBD>x<EFBFBD>x<EFBFBD>~<7E>~<7E>?O<> O<>*-<2D><1F>4<EFBFBD>8<EFBFBD>8<EFBFBD>=<3D>=<3D><13>%<25> M<>d<EFBFBD>h<EFBFBD>h<EFBFBD>m<EFBFBD>m<EFBFBD>o<EFBFBD> Mr*c<01><><00>|j<00>yt|jdd<03>}|j<00>5|s|j||<02><04>nd}|<01>h|dk7rc|sa|jj <00>|j
rv|j <00>j|j dk7r[t|j|j <00><00>|r9|dk7r|r|j t|<04>k(r|jj <00>ddd<01>rH|xjt|<04>z c_|j <00>|xj t|<04>zc_|S#1swY<00>UxYw)z7
Reads `amt` of bytes from the socket.
N<>closedFrar*r)
r3<00>getattrr`rlr<>r0r<rr5r<>)r%r<>r<><00> fp_closedr&s r'<00> _raw_readzHTTPResponse._raw_readys<00><00> <10>8<EFBFBD>8<EFBFBD> <1B><17><1B>D<EFBFBD>H<EFBFBD>H<EFBFBD>h<EFBFBD><05>6<> <09> <11> <20> <20> "<22>:C<>4<EFBFBD>=<3D>=<3D><13>E<EFBFBD>=<3D>2<><13>D<EFBFBD><12><EFBFBD>3<EFBFBD>!<21>8<EFBFBD>D<EFBFBD><15><08><08><0E><0E> <20><18>/<2F>/<2F><1C>-<2D>-<2D>9<><1C>-<2D>-<2D><11>2<>)<29><14>)<<3C>)<<3C>d<EFBFBD>>S<>>S<>T<>T<><16><14><01><18>$<24>4<EFBFBD>+@<40>+@<40>C<EFBFBD><04>I<EFBFBD>+M<> <15><08><08><0E><0E> <20>=#<23>@ <10> <10> <1F> <1F>3<EFBFBD>t<EFBFBD>9<EFBFBD> ,<2C> <1F><13>$<24>$<24>0<><14>%<25>%<25><13>T<EFBFBD><19>2<>%<25><13> <0B>I#<23> "<22>s <00>B=E<03>Ec<01>.<00>|j<00>|<02> |j}|r|dkrd}n7|<01>5d}t|j<00>|k\r|jj |<01>S|j |<01>}|duxs
|dk7xr| }|st|j<00>dk(r|S|<01>|j |||<05>}|r||_|S|s|jr td<04><00>|S|j |||<05>}|jj|<06>t|j<00>|kr\|rZ|j |<01>}|j |||<05>}|jj|<06>t|j<00>|kr|r<01>Z|jj |<01>}|S)aT
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<>r=r<>rqrr2r<>r<>r<>)r%r<>r<>r<>r&r<00> decoded_datas r'r<>zHTTPResponse.read<61>s<><00><00>4 <0A><1A><1A><1C> <19> !<21>!<21>0<>0<>N<EFBFBD> <0E>3<EFBFBD><11>7<EFBFBD><16>C<EFBFBD> <10>_<EFBFBD>!<21>M<EFBFBD><12>4<EFBFBD>'<27>'<27>(<28>C<EFBFBD>/<2F><1B>+<2B>+<2B>/<2F>/<2F><03>4<>4<><13>~<7E>~<7E>c<EFBFBD>"<22><04><1B>t<EFBFBD> <0B>><3E><03>q<EFBFBD><08>(=<3D><14>X<EFBFBD> <0A><13><03>D<EFBFBD>0<>0<>1<>Q<EFBFBD>6<><17>K<EFBFBD> <0E>;<3B><17><<3C><<3C><04>n<EFBFBD>m<EFBFBD>D<>D<EFBFBD><1C>!<21><04>
<EFBFBD>.<14> <0B>)"<22><17>,<2C>,<2C>&<26>@<01><16><16><1C> <0B><1F><<3C><<3C><04>n<EFBFBD>m<EFBFBD>L<>L<EFBFBD> <10> <20> <20> $<24> $<24>\<5C> 2<><15>d<EFBFBD>*<2A>*<2A>+<2B>c<EFBFBD>1<>d<EFBFBD><1C>~<7E>~<7E>c<EFBFBD>*<2A><04>#<23>|<7C>|<7C>D<EFBFBD>.<2E>-<2D>P<> <0C><14>$<24>$<24>(<28>(<28><1C>6<> <16>d<EFBFBD>*<2A>*<2A>+<2B>c<EFBFBD>1<>d<EFBFBD><18>'<27>'<27>+<2B>+<2B>C<EFBFBD>0<>D<EFBFBD><13> r*c<01>b<00>|<02> |j}|r|dkrd}|jr\|s td<03><00>t|j<00>dkDr7|<01>|jj <00>S|jj |<01>S|dk(ry|j|d<05><06>}|r|<03>|S|j<00> | }|j|||<04>}|jj|<05>|s|rn|jdd<05><06>}<03>J|<01>|jj <00>S|jj |<01>S)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*Trai ) r<>r<>r<>r<>r=r<>r<>rqr<>rr<>)r%r<>r<>r&rrss r'r<>zHTTPResponse.read1<64>s?<00><00>" <1A> !<21>!<21>0<>0<>N<EFBFBD> <0E>3<EFBFBD><11>7<EFBFBD><16>C<EFBFBD> <0F> $<24> $<24>!<21>"<22>=<3D><12><12><13>4<EFBFBD>'<27>'<27>(<28>1<EFBFBD>,<2C><16>;<3B><1F>/<2F>/<2F>7<>7<>9<>9<><1B>+<2B>+<2B>/<2F>/<2F><03>4<>4<> <0E>!<21>8<EFBFBD><16><14>~<7E>~<7E>c<EFBFBD><14>~<7E>.<2E><04><1D><14><1C><17>K<EFBFBD> <0C><1A><1A><1C><12> $<24>H<EFBFBD>M<EFBFBD><1F><<3C><<3C><04>n<EFBFBD>m<EFBFBD>L<>L<EFBFBD> <10> <20> <20> $<24> $<24>\<5C> 2<><1B>}<7D><15><17>><3E>><3E>$<24>d<EFBFBD>><3E>3<>D<EFBFBD> <13> <0F>;<3B><17>'<27>'<27>/<2F>/<2F>1<> 1<><13>#<23>#<23>'<27>'<27><03>,<2C>,r*c#<01>lK<00>|jr,|j<00>r|j||<02><01>Ed{<00><02><02>yt|j<00>rt |j <00>dkDrI|j||<02><04>}|r|<03><01>t|j<00>s<01>/t |j <00>dkDr<01>Hyy7<00>|<7C>w)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.
r.Nr)r<>r<>)r<><00>supports_chunked_readsr<73>rr3r<>r=r<>)r%r<>r<>r&s r'r<>zHTTPResponse.stream-s<><00><00><><00>$ <10><<3C><<3C>D<EFBFBD>7<>7<>9<><1B>(<28>(<28><13>^<5E>(<28>L<> L<> L<>"<22>4<EFBFBD>8<EFBFBD>8<EFBFBD>,<2C><03>D<EFBFBD>4H<34>4H<34>0I<30>A<EFBFBD>0M<30><1B>y<EFBFBD>y<EFBFBD>S<EFBFBD><1E>y<EFBFBD>H<><04><17><1E>J<EFBFBD> #<23>4<EFBFBD>8<EFBFBD>8<EFBFBD>,<2C><03>D<EFBFBD>4H<34>4H<34>0I<30>A<EFBFBD>0M<30> M<01>s<00>3B4<01>B2<04>A B4<01>B4<01>0B4c<01><00>y)NTr5r,s r'<00>readablezHTTPResponse.readableIs<00><00>r*c<01><><00>|js td<01><00>|j<00> td<02><00>|jtj
<00>y)Nz8Cannot shutdown socket as self._sock_shutdown is not setzCCannot shutdown as connection has already been released to the pool)r9r<>r8r<><00>socket<65>SHUT_RDr,s r'r<>zHTTPResponse.shutdownLsG<00><00><13>"<22>"<22><1C>W<>X<> X<> <0F> <1B> <1B> #<23><1E>U<><0E> <0E> <0A><1B><1B>F<EFBFBD>N<EFBFBD>N<EFBFBD>+r*c<01><00>d|_|js&|jr|jj<00>|jr|jj<00>|j
s t jj|<00>yyr!)r9rnr3r<>r8r1r<><00>IOBaser,s r'r<>zHTTPResponse.closeUs\<00><00>"<22><04><1B><13>{<7B>{<7B>t<EFBFBD>x<EFBFBD>x<EFBFBD> <10>H<EFBFBD>H<EFBFBD>N<EFBFBD>N<EFBFBD> <1C> <0F> <1B> <1B> <10> <1C> <1C> "<22> "<22> $<24><13><EFBFBD><EFBFBD> <0E>I<EFBFBD>I<EFBFBD>O<EFBFBD>O<EFBFBD>D<EFBFBD> !<21>r*c<01>@<00>|js)tjjj |<00>S|j
<00>yt |j
d<02>r|j
j<00>St |j
d<03>r|j
jSy)NTrLrn)r1r<>r}rn<00>__get__r3r`rLr,s r'rnzHTTPResponse.closedasq<00><00><13><EFBFBD><EFBFBD><15>9<EFBFBD>9<EFBFBD>#<23>#<23>+<2B>+<2B>D<EFBFBD>1<> 1<> <11>X<EFBFBD>X<EFBFBD> <1D><17> <14>T<EFBFBD>X<EFBFBD>X<EFBFBD>z<EFBFBD> *<2A><17>8<EFBFBD>8<EFBFBD>$<24>$<24>&<26> &<26> <14>T<EFBFBD>X<EFBFBD>X<EFBFBD>x<EFBFBD> (<28><17>8<EFBFBD>8<EFBFBD>?<3F>?<3F> "<22>r*c<01><><00>|j<00> td<01><00>t|jd<02>r|jj<00>Std<03><00>)Nz-HTTPResponse has no file to get a fileno from<6F>filenozOThe file-like object this HTTPResponse is wrapped around has no file descriptor)r3rHr`r<>r,s r'r<>zHTTPResponse.filenonsI<00><00> <0F>8<EFBFBD>8<EFBFBD> <1B><19>I<>J<> J<> <14>T<EFBFBD>X<EFBFBD>X<EFBFBD>x<EFBFBD> (<28><17>8<EFBFBD>8<EFBFBD>?<3F>?<3F>$<24> $<24><19>0<><0E> r*c<01><><00>|j<00>It|jd<01>r2t|jdd<03>s|jj<00>Syyy)Nr-rnF)r3r`ror-r,s r'r-zHTTPResponse.flushysJ<00><00> <10>H<EFBFBD>H<EFBFBD> <20><17><04><08><08>'<27>*<2A><1B>D<EFBFBD>H<EFBFBD>H<EFBFBD>h<EFBFBD><05>6<><17>8<EFBFBD>8<EFBFBD>><3E>><3E>#<23> #<23>7<>+<2B> !r*c<01>.<00>t|jd<01>S)a
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().
<20>fp)r`r3r,s r'rvz#HTTPResponse.supports_chunked_reads<64>s<00><00><17>t<EFBFBD>x<EFBFBD>x<EFBFBD><14>&<26>&r*c<01>$<00>|j<00>y|jjj<00>}|j dd<02>d} t |d<04>|_y#t $r,|j<00>|r t||<01>d<00>td<05>d<00>wxYw)N<>;rrrSzResponse ended prematurely)
r:r3r<><00>readliner{r<>r<>r<>rr)r%<00>lines r'<00>_update_chunk_lengthz!HTTPResponse._update_chunk_length<74>s<><00><00> <10>?<3F>?<3F> &<26><17><13>x<EFBFBD>x<EFBFBD>{<7B>{<7B>#<23>#<23>%<25><04><13>z<EFBFBD>z<EFBFBD>$<24><01>"<22>1<EFBFBD>%<25><04> L<01>!<21>$<24><02>m<EFBFBD>D<EFBFBD>O<EFBFBD><4F><19> L<01> <10>J<EFBFBD>J<EFBFBD>L<EFBFBD><13>(<28><14>t<EFBFBD>4<>$<24>><3E>$<24>$@<40>A<>t<EFBFBD>K<> L<01>s <00>A<00>5Bc<01>n<00>d}|<01>K|jj|j<00>}|}|jjd<01>d|_|S|j<00>B||jkr3|jj|<01>}|j|z
|_|}|S||jk(rA|jj|<01>}|jjd<01>d|_|}|S|jj|j<00>}|jjd<01>d|_|S)NrK)r3<00>
_safe_readr:)r%r<><00>returned_chunkr<6B><00>values r'<00> _handle_chunkzHTTPResponse._handle_chunk<6E>s<00><00><1D><0E> <0E>;<3B><18>H<EFBFBD>H<EFBFBD>'<27>'<27><04><0F><0F>8<>E<EFBFBD>"<22>N<EFBFBD> <10>H<EFBFBD>H<EFBFBD> <1F> <1F><01> "<22>"<22>D<EFBFBD>O<EFBFBD><1E><1D><12>_<EFBFBD>_<EFBFBD> (<28>S<EFBFBD>4<EFBFBD>?<3F>?<3F>-B<><18>H<EFBFBD>H<EFBFBD>'<27>'<27><03>,<2C>E<EFBFBD>"<22>o<EFBFBD>o<EFBFBD><03>3<>D<EFBFBD>O<EFBFBD>"<22>N<EFBFBD><1E><1D><11>D<EFBFBD>O<EFBFBD>O<EFBFBD> #<23><18>H<EFBFBD>H<EFBFBD>'<27>'<27><03>,<2C>E<EFBFBD> <10>H<EFBFBD>H<EFBFBD> <1F> <1F><01> "<22>"<22>D<EFBFBD>O<EFBFBD>"<22>N<EFBFBD>
<1E><1D>"<22>X<EFBFBD>X<EFBFBD>0<>0<><14><1F><1F>A<>N<EFBFBD> <10>H<EFBFBD>H<EFBFBD> <1F> <1F><01> "<22>"<22>D<EFBFBD>O<EFBFBD><1D>r*c#<01>XK<00>|j<00>|js td<01><00>|j<00>s t d<02><00>|j <00>5|j r9t|j <00>r$|j j<00> ddd<03>y|jj<00>
ddd<03>y|r|dkrd} |j<00>|jdk(rn,|j|<01>}|j||d<05><06>}|r|<04><02><00>L|r|j<00>}|r|<04><02>|j<00>:|jjj!<00>}|sn|dk(rn |j<00><01>:|j r|j j<00>ddd<03>y#1swYyxYw<01>w)a<>
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)r<>rs
)r<>r<>rrvrr`r4rr<>r3r<>r<>r:r<>rrr<>)r%r<>r<>r<><00>decodedr<64>s r'r<>zHTTPResponse.read_chunked<65>s<><00><00><><00> <0A><1A><1A><1C><13>|<7C>|<7C>$<24>B<01><0E> <0E><14>*<2A>*<2A>,<2C>*<2A>P<01><0E> <0E>
<12> <20> <20> "<22><13>&<26>&<26>+><3E>t<EFBFBD>?V<>?V<>+W<><14>'<27>'<27>-<2D>-<2D>/<2F><1B> #<23> "<22><14>x<EFBFBD>x<EFBFBD>{<7B>{<7B>"<22><1B>#<23> "<22><13>s<EFBFBD>Q<EFBFBD>w<EFBFBD><1B><03><16><14>)<29>)<29>+<2B><17>?<3F>?<3F>a<EFBFBD>'<27><19><1C>*<2A>*<2A>3<EFBFBD>/<2F><05><1E>,<2C>,<2C><19>.<2E><05>'<27><12><07><1B>!<21>M<EFBFBD><17><1E><1F>-<2D>-<2D>/<2F><07><1A>!<21>M<EFBFBD><17>(<28>(<28>&<26><1B>x<EFBFBD>x<EFBFBD>{<7B>{<7B>+<2B>+<2B>-<2D><04><1B><19><17>7<EFBFBD>?<3F><19> <17>(<28>(<28>&<26><14>&<26>&<26><14>'<27>'<27>-<2D>-<2D>/<2F>]#<23> "<22> "<22>s=<00>AF*<01>=F<03> F*<01>F<03>2 F*<01>;B3F<03>/&F<03> F*<01>F'<07>#F*c<01><00>|jS)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.
<20>r<>r,s r'r<>zHTTPResponse.url<72>s<00><00><14> <20> <20> r*c<01><00>||_yr!r<>r<>s r'r<>zHTTPResponse.urls
<00><00><1F><04>r*c#<01>.K<00>g}|jd<01><02>D]d}d|vrM|jd<03>}dj|<01>|dzdz<00><01>|ddD] }|dz<00><01><00> |dr|dg}<01>Qg}<01>T|j|<02><00>f|rdj|<01><00><01>yy<00>w)NTr.<00>
r*rrr<>)r<>r{rmrl)r%r<>r<><00>chunks<6B>xs r'<00>__iter__zHTTPResponse.__iter__ s<><00><00><><00> <20><06><19>[<5B>[<5B><04>[<5B>5<>E<EFBFBD><14><05>~<7E><1E><1B><1B>U<EFBFBD>+<2B><06><19>h<EFBFBD>h<EFBFBD>v<EFBFBD>&<26><16><01><19>2<>U<EFBFBD>:<3A>:<3A><1F><01>"<22><1C>A<EFBFBD><1B>e<EFBFBD>)<29>O<EFBFBD>&<26><19>"<22>:<3A>$<24>R<EFBFBD>j<EFBFBD>\<5C>F<EFBFBD><1F>F<EFBFBD><16> <0A> <0A>e<EFBFBD>$<24>6<> <12><15>(<28>(<28>6<EFBFBD>"<22> "<22> <12>s<00>BB)r<>NrrzHTTP/?NTTNNNNNTNNTN)&r>r r<>rr<>r<>r<>r<>r<>r<>r<>rr?rr<>rr@z_HttplibHTTPResponse | NonerAzHTTPConnectionPool | Noner<65><00>HTTPConnection | Noner6z_HttplibHTTPMessage | Noner<65>rr0rrBrr<>rr1rrCz#typing.Callable[[int], None] | Noner0rGrFr1)r0r<>)r0rr<>)rBrr0r )r0ztyping.Generator[None]r!)r<>r r<>rr0r/r#r$r%r&r)r<>r r<>r!r0ztyping.Generator[bytes])r<>r r0r/r)r<>r<>r0rG)r0r")"r2r3r4r<>r>r<>r<>r*r&r<>rLrNr;rr`rlrqr<>r<>r<>rxr<>r<>rnr<>r-rvr<>r<>r<>r<>r+r<><00> __classcell__)rDs@r'rr9s<><00><><00><08>D<1E>RV<52><17><18>&<26>!<21> $<24>#<23>9=<3D>*.<2E>,0<>*.<2E> $<24>'+<2B>%)<29>"&<26><1F>=A<>'>B<01><18>>B<01>P<01>>B<01><14> >B<01>
<15> >B<01> <1C> >B<01><1B>>B<01><1E>>B<01><1D>>B<01>7<>>B<01>(<28>>B<01>*<2A>>B<01>(<28>>B<01><1E>>B<01>!%<25>>B<01> #<23>!>B<01>" <20>#>B<01>$<19>%>B<01>&;<3B>'>B<01>(
<0E>)>B<01>@ <20> <11><0E><14><0E><14><0E> <20><0E> <20>&<26>#<23>6<16>p<14>?$<24><14>?$<24>F<1F>7N<01><1C> 7N<01> <17>7N<01><14> 7N<01>
<0F> 7N<01>v<1F>2<14><1C> 2<14> <17>2<14><14> 2<14>
<0F> 2<14>l<1F>&*<2A>#<23> H<14> <17>H<14>$<24>H<14><1C> H<14>
<0F> H<14>X<1F>&*<2A>4-<2D> <17>4-<2D>$<24>4-<2D>
<0F> 4-<2D>nFJ<01><1F><1D><1F>7B<37><1F> <20><1F>8<14>,<2C>
"<22><0E>
<18><0E>
<18> <0E>$<24>'<27>L<01>$<1E>.EI<01>K0<><1D>K0<>6A<36>K0<> <20>K0<>Z<0E>!<21><0E>!<21> <09>Z<EFBFBD>Z<EFBFBD> <20><10> <20>#r*r)r<>r<>r0r)R<>
__future__rr<>r<>r<>r<><00>logging<6E>rerzrf<00>typingrr;<00>
contextlibr<00> http.clientr<00>_HttplibHTTPMessager<00>_HttplibHTTPResponserr[<00> TYPE_CHECKING<4E>_base_connectionr <00>
brotlicffir^<00> ImportErrorr<72>r
r <00> _collectionsr r<>r rr<00>
exceptionsrrrrrrrrrr<00> util.responserr<00>
util.retryr<00>connectionpoolr<00> getLoggerr2rTrr7rJrPr\<00> compressionrdr<>rf<00> zstandard<72>tuple<6C>mapr<70><00>search<63> __version__<5F>groups<70> _zstd_version<6F>AttributeErrorr<72>rxr|r<>r}r<>r5r*r'<00><module>r<>s<><00><01>"<22><12> <09><14><0E> <09> <0A>
<EFBFBD> <0A><0F> <0B>%<25>:<3A><<3C>+<2B> <09><17><17>4<><12><16>#<23> <13>(<28>(<28>C<>C<> <02> <02> <02>=<3D><1D> <09><17><17>2<><17>g<EFBFBD><17><17><08>!<21><03>$<24>$<24>!<21>^<5E>!<21>@<15><15> !<21>.<2E>!<21><
<EFBFBD><15><17><0E><17>"><1B> <20><13>H<EFBFBD><17>n<EFBFBD><17>v<14>><3E><14>*<1C>$F<16>F<16>Rp<18>r<EFBFBD>y<EFBFBD>y<EFBFBD>p<18>fb #<23>#<23>b #<23><>C <17><16><15><16><><12><12> <11>F<EFBFBD><12><>h<13>%<1B>$<1B> <20> <1E> <0F><03>Y<EFBFBD>R<EFBFBD>Y<EFBFBD>Y<EFBFBD>5<>t<EFBFBD>7G<37>7G<37>H<>O<>O<>Q<> R<>
<EFBFBD> <0A> <19>7<EFBFBD> "<22><1D>A<>B<> B<> #<23>
<18><08> <1B>.<2E> <1B><> <1B>K<EFBFBD><1A> 4<><19><18><08><19><>%<1B>sa<00>E
<00>=E'<00>
E<03>E<00>E<03>E<00>E$<03>#E$<03>'G<03>-A G<02>7G<03>
G<05>G<03>G<05>G<03>G