Files
intellecton/venv/lib/python3.12/site-packages/requests/__pycache__/models.cpython-312.pyc
T

273 lines
41 KiB
Plaintext
Raw Normal View History

Ë
j7£ãóUdZddlmZddlZddlZddlmZmZm Z m
Z
m Z ddl m
Z
ddlmZmZmZmZmZmZddlmZmZmZmZmZddlmZdd lmZdd
lm Z d d l!m"Z"m#Z#d d
l$m%Z&d dl'm(Z(d dl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1d dl)m2Z3d dl4m5Z5m6Z6m7Z7d dl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@d dl8m*ZAd dl8mZBd dlCmDZDd dlEmFZFd dlGmHZHd dlImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSerddlTmUZUddlVmWZWd dlXm$ZYd dlZm[Z[d dl4m\Z\eFjºeFj¼eFj¾eFjÀeFjÂfZbdecd<d Zdd!ecd"<d#Zed!ecd$<d%Zfd!ecd&<Gd'„d(«ZgGd)„d*«ZhGd+„d,eh«ZiGd-„d.egeh«ZjGd/„d0«Zky)1z`
requests.models
~~~~~~~~~~~~~~~
This module contains the primary objects that power Requests.
é)Ú annotationsN)ÚCallableÚ GeneratorÚIterableÚIteratorÚMapping)ÚUnsupportedOperation)Ú
TYPE_CHECKINGÚAnyÚFinalÚLiteralÚcastÚoverload)Ú DecodeErrorÚLocationParseErrorÚ
ProtocolErrorÚReadTimeoutErrorÚSSLError)Ú RequestField)Úencode_multipart_formdata)Ú parse_urlé)Úto_native_stringÚunicode_is_ascii)Ú SupportsRead)Ú
HTTPBasicAuth)ÚJSONDecodeErrorÚ
basestringÚ builtin_strÚchardetÚ cookielibÚ urlencodeÚurlsplitÚ
urlunparse)Újson)Ú_copy_cookie_jarÚcookiejar_from_dictÚget_cookie_header)ÚChunkedEncodingErrorÚConnectionErrorÚContentDecodingErrorÚ HTTPErrorÚInvalidJSONErrorÚ
InvalidURLÚ
MissingSchemaÚStreamConsumedError)r)r)Ú
default_hooks)Úcodes)ÚCaseInsensitiveDict)
Úcheck_header_validityÚget_auth_from_urlÚguess_filenameÚguess_json_utfÚ iter_slicesÚparse_header_linksÚ requote_uriÚstream_decode_response_unicodeÚ super_lenÚto_key_val_list)Ú CookieJar)ÚSelf)Ú_types)Ú HTTPAdapter)ÚRequestsCookieJarzFinal[tuple[int, ...]]ÚREDIRECT_STATIéÚintÚDEFAULT_REDIRECT_LIMITi(ÚCONTENT_CHUNK_SIZEiÚITER_CHUNK_SIZEcóÚeZdZUded<ed d«Zeed d««Zeed
d««Zee dd««Zeedd««Ze dd«Ze dd „«Z y
)ÚRequestEncodingMixinú
str | NoneÚurlcóg}ttt|j««}|j}|sd}|j |«|j }|r"|j d«|j |«dj|«S)zBuild the path URL to use.ú)r#rÚstrrLÚpathÚappendÚqueryÚjoin)ÚselfrLÚprRrTs úR/home/antigravity/intellecton/venv/lib/python3.12/site-packages/requests/models.pyÚpath_urlzRequestEncodingMixin.path_urlpslðˆä ”Tœ#˜tŸx™xÓ àv‰vˆÙ؈Dà
àˆÙ Ø J‰JsŒOØ J‰J àw‰wsócóy©©Údatas rXÚ_encode_paramsz#RequestEncodingMixin._encode_params…sà*-rZcóyr\r]r^s rXr`z#RequestEncodingMixin._encode_params‰sà.1rZcóyr\r]r^s rXr`z#RequestEncodingMixin._encode_paramssð(+rZcóyr\r]r^s rXr`z#RequestEncodingMixin._encode_params“sà47rZc ó²t|ttf«r|St|t«r|St |d«r g}t |«D\}}t|t «s t |d«s|g}|D]Z}|Œ|jt|t«r|jd«n|t|t«r|jd«n|f«Œ\Œ…t|d¬«S|S)züEncode parameters in a piece of data.
Will successfully encode parameters when passed as a dict or a list of
2-tuples. Order is retained if data is a list of 2-tuples but arbitrary
if parameters are supplied as a dict.
Ú__iter__úutf-8T)Údoseq)
Ú
isinstancerQÚbytesÚ
_SupportsReadÚhasattrr=rrSÚencoder")r_ÚresultÚvsÚvs rXr`z#RequestEncodingMixin._encode_params—ô dœS¤%˜LÔ ˆKÜ
˜œmÔ
ˆ
T˜
&Ø02ˆÓ
˜b¤*Ô-´W¸RÀÔ5Lؘò‘}ØŸ
ä5?ÀÄ3Ô5G §¡¨Ô 1ÈQÜ5?ÀÄ3Ô5G §¡¨Ô 1ÈQðõñð
ô˜V¨4Ô ˆKrZc ó´|s td«t|t«r td«g}t|xsi«}t|xsi«}|D\}}t|t«s t |d«s|g}|D]u}|Œt|t
«s t
|«}|jt|t
«r|jd«n|t|t «r|jd«n|f«ŒwŒ |D]×\}}d}d} t|ttf«r1t|«dk(r|\}
} n.t|«dk(r|\}
} }n|\}
} }} nt|«xs|}
|} t| t t
tf«r| } n&t| t«r| j!«} n| Œ¤| } t#|| |
| ¬«}
|
j%|¬ «|j|
«ŒÙt'|«\}}||fS)
Build the body for a multipart/form-data request.
Will successfully encode files when passed as a dict or a list of
tuples. Order is retained if data is a list of tuples but arbitrary
if parameters are supplied as a dict.
The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype)
or 4-tuples (filename, fileobj, contentype, custom_headers).
zFiles must be provided.zData must not be a string.reNrféé)Únamer_ÚfilenameÚheaders)Ú content_type)Ú
ValueErrorrhrr=rkrirQrSÚdecoderlÚtupleÚlistÚlenr6Ú bytearrayrjÚreadrÚmake_multipartr)Úfilesr_Ú
new_fieldsÚfieldsÚfieldÚvalrprnÚftÚfhÚfnÚfpÚfdataÚrfÚbodyrws rXÚ
_encode_filesz"RequestEncodingMixin._encode_files·ñÜÐ
˜œjÔ
Ð :à=?ˆ
Ü  ¢¨ÓÜ ¢ ¨Óà ò ‰JˆE˜#œzÔ*´'¸#¸zÔ2JØeØò
Ø‘=ä% a¬Ô ›F˜à× *¨%´Ô"ŸL™L¨Ô1à!&Ü1;¸A¼sÔ1C˜AŸH™H ð õñ
ð ð$ò "‰DˆAˆˆˆ˜!œe¤T˜]Ôq“6˜Q’;Ø‘FB™Ü˜“V˜q[Ø!"JB˜™Bà%&NB˜˜ä# +¨!Øä˜"œs¤E¬9ÐܘB¤
ÔŸ› ‘ØØàä 1¨5¸2ÀrÔJˆBØ × Ñ ¨2Ð Ô × Ñ ˜ !ð5 "ô87°zÓˆˆ!rZÚreturnrQ)r_rQrQ)r_riri)r_ú_t.SupportsRead[str | bytes]rŽr)r_z
_t.KVDataTyperŽrQ)r_z_t.EncodableDataTyperŽz*str | bytes | _t.SupportsRead[str | bytes])r€ú _t.FilesTyper_ú_t.RawDataType | NonerŽztuple[bytes, str])
Ú__name__Ú
__module__Ú __qualname__Ú__annotations__ÚpropertyrYrÚ staticmethodr`r]rZrXrJrJmØ ƒOà
òóðð(ØÚóà
ØÚóà
Øð+à %òóðØÚóàðØà 3òóðð>ðDðD"Ø#8ðDòDñD"rZrJcó4eZdZUded< ddZddZy)ÚRequestHooksMixinúdict[str, list[_t.HookType]]Úhookscó||jvrtd|d«t|t«r|j|j |«yt |d«r&|j|j
d|D««yy)zProperly register a hook.z.Unsupported event specified, with event name "ú"rec3óBK|]}t|t«sŒ|Œy­wr\)rhr)Ú.0Úhs rXú <genexpr>z2RequestHooksMixin.register_hook.<locals>.<genexpr>
sèø€Ò$P¨1¼
À1ÄhÕ8O¤QÑ$Pùs˜N)rrxrhrrSrkÚextend©rVÚeventÚhooks rXÚ
register_hookzRequestHooksMixin.register_hookssð
˜Ÿ
Ñ ÐMÈeÈWÐTUÐ dœHÔ J‰J × $ 
T˜
J‰J × $Ñ$P°Ô$PÕ 'rZcó` |j|j|«y#t$rYywxYw)ziDeregister a previously registered hook.
Returns True if the hook existed, False if not.
TF)rÚremoverxs rXÚderegister_hookz!RequestHooksMixin.deregister_hooks3ð
 Ø J‰J × $ TÔ øÜò Ùð ús !¡ -¬-N)rQz#Iterable[_t.HookType] | _t.HookTyperŽÚNone)rQz _t.HookTyperŽÚbool)rr“r”r•r]rZrXr™r™ÿs.Ø  QØð QØ Cð Qà
ó Qô rZr™cóÄeZdZUdZded<ded<ded<ded <d
ed <d ed
<ded<ded<ded< d ddZddZddZy)ÚRequesta{A user-created :class:`Request <Request>` object.
Used to prepare a :class:`PreparedRequest <PreparedRequest>`, which is sent to the server.
:param method: HTTP method to use.
:param url: URL to send.
:param headers: dictionary of headers to send.
:param files: dictionary of {filename: fileobject} files to multipart upload.
:param data: the body to attach to the request. If a dictionary or
list of tuples ``[(key, value)]`` is provided, form-encoding will
take place.
:param json: json for the body to attach to the request (if files or data is not specified).
:param params: URL parameters to append to the URL. If a dictionary or
list of tuples ``[(key, value)]`` is provided, form-encoding will
take place.
:param auth: Auth handler or (user, pass) tuple.
:param cookies: dictionary or CookieJar of cookies to attach to this request.
:param hooks: dictionary of callback hooks, for internal usage.
Usage::
>>> import requests
>>> req = requests.Request('GET', 'https://httpbin.org/get')
>>> req.prepare()
<PreparedRequest [GET]>
rKÚmethodú_t.UriType | NonerLzMapping[str, str | bytes]rvrr€ú _t.DataTyper_ú _t.JsonTyper%ú
_t.ParamsTypeÚparamsú _t.AuthTypeÚauthú5RequestsCookieJar | CookieJar | dict[str, str] | NoneÚcookiesNc óD|gn|}|gn|}|in|}|in|}| €in| } t«|_t| j««D]\} } |j | | ¬«Œ||_||_||_||_||_ |
|_
||_ ||_ ||_
y)N))r1rr{Úitemsr¦rLrvr€r_r%)
rVrLrvr€r_rr%rnrps
rXÚ__init__zRequest.__init__Að\‰r tˆØm‘¨ˆØ˜‘"¨WˆØ~‘¨6ˆØm‘¨ˆä"“_ˆŒ
ܘŸÓ 0‰DˆAˆqØ × Ñ  Q¨QÐ Õ ˆŒ ؈ŒØˆŒ ؈Œ
؈Œ ؈Œ ؈Œ ؈Œ ؈ rZcó"d|jdS)Nz
<Request [ú]>©©rVs rXÚ__repr__zRequest.__repr__csؘDŸK™K˜Ð+rZc ót«}|j|j|j|j|j
|j |j|j|j|j|j¬«
|S)zXConstructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.)
rLrvr€r_r%r) ÚPreparedRequestÚpreparer®rLrvr€r_r%r©rVrWs rXzRequest.preparefshä Ó ˆØ ‰ Ø—;‘;ØØ—L‘LØ—*‘*ØØØ—;‘;ØØ—L‘LØ—*‘*ð ô
ðˆrZ©
NNNNNNNNNN)rKrLrvz_t.HeadersTyper€rr_rú_t.HooksInputType | Noner%r©)rr“r”Ú__doc__r•r¿r]rZrXr­r­ñð6
ÓØ ÓØ
 ÓØ
ÓØ
ÓØ ÓØ
ÓØ
"Ø!%Ø"&Ø Ø $Ø ØIMØ*.Ø ð àð ðð ð ð ð
ð ð ð
ðð ðð ðGð ð ðð ð
ó óDrZr­có>eZdZUdZded<ded<ded<ded<d ed
<d ed <d
ed<ddZ d ddZd dZd!dZd"dZ e
d#d«Z d$dZ d%dZ
d& d'dZd(dZ d) d*dZ d+dZd,dZy)-rÁa)The fully mutable :class:`PreparedRequest <PreparedRequest>` object,
containing the exact bytes that will be sent to the server.
Instances are generated from a :class:`Request <Request>` object, and
should not be instantiated manually; doing so may produce undesirable
effects.
Usage::
>>> import requests
>>> req = requests.Request('GET', 'https://httpbin.org/get')
>>> r = req.prepare()
>>> r
<PreparedRequest [GET]>
>>> s = requests.Session()
>>> s.send(r)
<Response [200]>
rKrLz CaseInsensitiveDict[str | bytes]rvz$RequestsCookieJar | CookieJar | NoneÚ_cookiesú _t.BodyTyperrzint | object | NoneÚ_body_positioncóvd|_d|_d|_d|_d|_t «|_d|_yr\)rLrvrr1rs rXzPreparedRequest.__init__•s8àˆŒ àˆŒàˆŒ ðˆŒ
àˆŒ ä"“_ˆŒ
à"ˆÕrZNc ótd|«}|j|«|j||«|j|«|j |«|j |||
«|j
||«|j| «y)z6Prepares the entire request with the given parameters.ú
_t.UriTypeN)rÚprepare_methodÚ prepare_urlÚprepare_headersÚprepare_cookiesÚ prepare_bodyÚ prepare_authÚ
prepare_hooks) rVrLrvr€r_rr%s rXzPreparedRequest.prepare¦s|ôÓØ ×јFÔ ×ј˜fÔ ×јWÔ ×јWÔ ×ј$  tÔ ×ј$ Ô
×ј!rZcó"d|jdS)Nz<PreparedRequest [r¼s rXr¿zPreparedRequest.__repr__ÃsØ# D§K¡K Ð3rZcóRt«}|j|_|j|_|j|jj «nd|_t |j «|_|j|_|j|_|j|_ |Sr\)
rLrvÚcopyr&rrs rXzPreparedRequest.copyÆsxÜ Ó ˆØ—;‘;ˆŒØˆŒØ+/¯<©<Ð+CD—LL׈Œ Ü% d§m¡mÓŒ
؈ŒØ—*‘*ˆŒØ×ÔØˆrZcó|||_|j)t|jj««|_yy)zPrepares the given HTTP method.N)rÚupper)rVs rXzPreparedRequest.prepare_methodÑs1àˆŒ Ø ;‰;Ð *¨4¯;©;×+<Ñ+<Ó+>Ó?ˆD #rZcó†ddl} |j|d¬«jd«}|S#|j$rtwxYw)NrT)Úuts46rf)ÚidnarlryÚ IDNAErrorÚ UnicodeError)ÚhostrÝs rXÚ_get_idna_encoded_hostz&PreparedRequest._get_idna_encoded_host×sIãð Ø—;‘;˜t¨4Ó@ˆDðˆ øð~‰~ò ÜÐ ð ús †"*ªAc
ó<t|t«r|jd«}n t|«}|j «}d|vr'|j «j
d«s||_y t|«\}}}}}}} |std|d|d«|std|d«t|«s |j|«}n|j
d
«r td «|xsd } | r| d z
} | |z
} |r| d|z
} |sd
}t|ttf«r t!|«}||j#|«} nd } | r |r|d| }n| }t%t'|| |d || f««}||_y#t$r}
t|
jŽd}
~
wwxYw#t$r td «wxYw)zPrepares the given HTTP URL.Úutf8úhttpNz Invalid URL z0: No scheme supplied. Perhaps you meant https://rOz: No host suppliedzURL has an invalid label.)Ú.rPú@rNú&)rhriryrQÚlstripÚlowerÚ
startswithrLrrr.Úargsr/rrr`r:r$)
rVrLÚschemerµÚportrRrTÚfragmentÚnetlocÚ
enc_paramss
rXzPreparedRequest.prepare_urláô cœ5Ô —*‘*˜VÓ$‰Cäc“(ˆCðj‰j‹lˆð
#‰:˜cŸi™ik×4°VÔˆDŒHØ ð &Ü>GÈ»nÑ ;ˆFD˜$  d¨E°8ñÜØ˜s˜&-Ø-0¨E°ðð
ñ
ܘ|¨C¨7Ð2DÐ   Ô
×2°4Ó8ð_‰_˜ZÔ
Ð ˜ˆÙ Ø c‰MˆFØ$‰ˆÙ Ø ˜˜$˜ ˆFñ؈Dä fœs¤E˜lÔ % fÓ-ˆFà Ð Ø×,¨VÓ4‰JàˆJá ÙØ ˜'  : /à"äœ* f¨f°d¸ÀxÐ%PÓRˆØˆøôg˜aŸf™fÐ %ûð &ûô& ò
 Ð!<Ó
>ús$Á*E#Â.FÅ# FÅ,E>Å>FÆFcó¢t«|_|r>|j«D]*}t|«|\}}||jt |«<Œ,yy)z Prepares the given HTTP headers.N)r3rvr4r)rVrvÚheaderrtÚvalues rXzPreparedRequest.prepare_headers3sPôŒ Ù Ø!Ÿ-™-›/ò
=ä% $ eØ7< Ô-¨dÓ
 rZcóÜd}d}|s=|;d} tj|d¬«}t |t
«s|j
d«}t |t«xs t|d«}|rœt |tt
tttf«sw t|«}|}t#|dd« |j%«|_|r t-d «|r t/|«|j0d
<||_yd |j0d <||_yt3d
|«} |r|j5|| «\}}n8| r6|j7| «}t |t8«st |t:«rd}nd}|j=|«|rd|j0vr||j0d<||_y#t$r}t||¬«d}~wwxYw#ttt f$rd}YŒ6wxYw#t($rt+«|_YŒ0wxYw)z"Prepares the given HTTP body data.Nzapplication/jsonF)Ú allow_nan)ÚrequestrfreÚtellz1Streamed bodies and files are mutually exclusive.úContent-LengthÚchunkedzTransfer-Encodingrz!application/x-www-form-urlencodedz content-typez Content-Type) Ú complexjsonÚdumpsrxr-rhrirlrrkrQr{rzrr<Ú TypeErrorÚAttributeErrorr ÚgetattrrúÚOSErrorÚobjectÚNotImplementedErrorrrvrr`rrjÚprepare_content_lengthr)
rVr_r€r%rrwÚveÚ is_iterableÚlengthÚraw_datas
rXzPreparedRequest.prepare_body>ðˆØˆ á˜Ð.ˆLð
"׸Ô?ô˜d¤EÔ—{‘{ 7Ó+ô! ¤xÓM´G¸DÀ*Ó4Mˆ Ù œz¨$´´e¼TÄ5Ì'Ð0RÔ
Ü" 4ðˆt˜V 3Ø*.¯)©)«+ ÜðñÜ1<¸VÓ1D Ð.ð0ˆ ð-5> Ð1ð,ˆ ô'Ð3°TÓ:ˆØ'+×'9Ñ'9¸Ó'JÑ$Ø×.¨xÓ8! 
Ô3´zÀ$Ì
Ô7VØ'+™ à'J˜ à × Ô  °t·|±|Ñ!CØ/; ˜^ш øôsò
& r°4Ô8ûð
9ûôœ~Ô/CÐ
Øð
ûôò+1«(D×3ús;ŒFÂ
F2Â%GÆ F/Æ
F*Æ*F/Æ2G Ç G ÇG+Ç*G+cóÊ|'t|«}|rt|«|jd<yy|jdvr,|jj d«d|jd<yyy)z>Prepare Content-Length header based on request method and bodyNrû)ÚGETÚHEADÚ0)r<rrvÚget)rVrrs rXrz&PreparedRequest.prepare_content_lengthŒsnà Рܘt“_ˆFÙô2=¸VÓ1D Ðð
K‰K˜Ñ  × Ñ Ð!1Ó.1ˆDL‰LÐ 
/rZcóh|€2ttt|j««}t |«r|nd}|r|t |t «rt|«dk(r t|Ž}n td|«}||«}|jj|j«|j|j«yy)z"Prepares the given HTTP auth data.NrrzCallable[..., PreparedRequest])
r5rrQrLÚanyrhrzr|rÚ__dict__Úupdaterr)rVrLÚurl_authÚ auth_handlerÚrs rXzPreparedRequest.prepare_authœs˜ð ˆ¬c°4·8±8Ó)<Ó=ˆ" 8œ}8°$ˆ ܘÔ&¬3¨t«9¸ª>ä,¨dÐ3 ô $Ð$DÀdÓK ñ˜"ˆ
M‰M× Ñ  §¡Ô 
× ¯ © Õ  rZcóÐt|tj«r||_nt |«|_t d|j«}t
||«}|||jd<yy)aPrepares the given HTTP cookie data.
This function eventually generates a ``Cookie`` header from the
given cookies using cookielib. Due to cookielib's design, the header
will not be regenerated if it already exists, meaning this function
can only be called once for the life of the
:class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
header is removed beforehand.
r>Cookie)rhr!r>r'rr(rv)rVÚ cookies_jarÚ
cookie_headers rXzPreparedRequest.prepare_cookies¹s\ô gœy× #ˆDÓ8ˆDŒMä˜;¨¯
©
Ó6ˆ Ü)¨+°tÓ<ˆ
Ø Ð $Ø%2ˆDL‰L˜Ò  %rZcóH|xsi}|D]}|j|||«Œy)zPrepares the given hooks.N))rVrs rXzPreparedRequest.prepare_hooksÐs0ð
 ˜ˆØò 4ˆEØ × Ñ ˜u e¨E¡lÕ  4rZ©)rKrLrvú Mapping[str, str | bytes] | Noner€rr_rr%r)rK)rQrQ)rL)rvrr\)r_r€rr%)r)rP)r´rL))r)rr“r”r•r¿r—rr]rZrXxsñð(
ÓØ ƒOØ

ÓØ #ð&"Ø!%Ø48Ø Ø $Ø ØIMØ*.Ø ððð
ð  ð
ððGðð
ó"ó: ó@ð òóððPà
ðPððPð
ó Pód KOðLØðLØ(4ðLØ<GðLà
óLó\1ð&ððð
ó 3ð:
ó3ô.4rZcófeZdZUdZded<ded<ded<ded <d
ed <d ed
<ded<ded<ded<ded<ded<ded<ded<ded<gd¢Zded<d=d „Zd>d!„Zd?d"„Zd@d#„Z dAd$„Z
dBd%„Z dCd&„Z dCd'„Z
dDd(„ZedCd)„«ZedCd*„«ZedCd+„«ZedEd,„«ZedFd-„«Ze dG dHd/„«Ze dI dJd0„«Z dG dKd1„Zeed.d2f dLd3„«Zeefd2d4œ dMd5„«Zed.d2f dNd6„ZedOd7„«ZedBd8„«ZdPd9„ZedQd:„«Zd=d;„Zd=d<„Zy2)RÚResponsezhThe :class:`Response <Response>` object, which contains a
server's response to an HTTP request.
zbytes | Literal[False] | NoneÚ_contentr«Ú_content_consumedúPreparedRequest | NoneÚ_nextrEÚ status_codezCaseInsensitiveDict[str]rvr ÚrawrQrLrKÚencodingzlist[Response]ÚhistoryÚreasonrBzdatetime.timedeltaÚelapsedrÁrAÚ
connection)
rr#rvrLr&r%r'r(z list[str]Ú __attrs__cód|_d|_d|_d|_t «|_d|_d|_d|_g|_ d|_
ti«|_ tjd«|_d|_y)NFr)rr r"r#r3rvr$rLr%r&r'r'ÚdatetimeÚ timedeltar(s rXzResponse.__init__ûs†ØˆŒ
Ø!&ˆÔ؈Œ
ð ˆÔô
,ˆŒ ð
ˆŒðˆŒðˆŒ
ð
ˆŒ ðˆŒ ô+¨2ÓŒ ô ×)¨!ÓŒ ðˆ rZcó|Sr\r]s rXÚ __enter__zResponse.__enter__*s؈ rZcó$|j«yr\)Úclose)rVs rXÚ__exit__zResponse.__exit__-s Ø
rZc óˆ|js |j|jDcic]}|t||d«Œc}Scc}wr\)r Úcontentr*r)rVÚattrs rXÚ __getstate__zResponse.__getstate__0s:ð× LŠLà<@¿N¹NÖK°D”g˜d D¨$ÓKùÒKs§?có‚|j«D]\}}t|||«Œt|dd«t|dd«y)Nr Tr$)Úsetattr)rVÚstaterts rXÚ __setstate__zResponse.__setstate__8sBØ Ÿ;™; '‰KˆD D˜$ Õ  Ð)¨4Ôe˜"rZcó"d|jdS)Nz <Response [r¼)r#s rXr¿zResponse.__repr__@sؘT×.¨bÐ1rZcó|jS©akReturns True if :attr:`status_code` is less than 400.
This attribute checks if the status code of the response is between
400 and 600 to see if there was a client error or a server error. If
the status code, is between 200 and 400, this will return True. This
is **not** a check to see if the response code is ``200 OK``.