Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
§

×gvŠãóR—dZddlZddlZddlmZddlmZmZm	Z	m
Z
mZddlm
Z
ddlmZddlmZdd	lmZmZdd
lmZddlmZmZmZmZmZmZmZddlmZ dd
lm!Z!m"Z"m#Z#ddl$m%Z%m&Z&m'Z'ddl(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.ddl(mZ/ddl(m0Z0ddl(mZ1ddl(m2Z2ddl3m4Z4ddl5m6Z6ddl7m8Z8ddl9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCe6jDe6jEe6jFe6jGe6jHfZIdZJdZKdZLGd„d¦«ZMGd„d¦«ZNGd„d eN¦«ZOGd!„d"eMeN¦«ZPGd#„d$¦«ZQdS)%z`
requests.models
~~~~~~~~~~~~~~~

This module contains the primary objects that power Requests.
éN)ÚUnsupportedOperation)ÚDecodeErrorÚLocationParseErrorÚ
ProtocolErrorÚReadTimeoutErrorÚSSLError)ÚRequestField)Úencode_multipart_formdata)Ú	parse_urlé)Úto_native_stringÚunicode_is_ascii)Ú
HTTPBasicAuth)ÚCallableÚJSONDecodeErrorÚMappingÚ
basestringÚbuiltin_strÚchardetÚ	cookielib)Újson)Ú	urlencodeÚurlsplitÚ
urlunparse)Ú_copy_cookie_jarÚcookiejar_from_dictÚget_cookie_header)ÚChunkedEncodingErrorÚConnectionErrorÚContentDecodingErrorÚ	HTTPErrorÚInvalidJSONErrorÚ
InvalidURL)r)Ú
MissingSchema)r)ÚStreamConsumedError)Ú
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éi(icóP—eZdZed„¦«Zed„¦«Zed„¦«ZdS)ÚRequestEncodingMixincóþ—g}t|j¦«}|j}|sd}| |¦«|j}|r*| d¦«| |¦«d |¦«S)zBuild the path URL to use.ú/ú?Ú)rÚurlÚpathÚappendÚqueryÚjoin)Úselfr:Úpr;r=s     ú=/tmp/pip-target-6culloxw/lib/python/requests_odigos/models.pyÚpath_urlzRequestEncodingMixin.path_urlUs~€ðˆåT”XÑÔˆàŒvˆØð	؈Dà
Š
4ÑÔÐà”ˆØð	ØJŠJs‰OŒOˆOØJŠJuÑÔÐàwŠws‰|Œ|Ðóc	ó
—t|ttf¦«r|St|d¦«r|St|d¦«rÂg}t	|¦«D]Ÿ\}}t|t
¦«st|d¦«s|g}|D]o}|k| t|t¦«r| d¦«n|t|t¦«r| d¦«n|f¦«ŒpŒ 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.
        ÚreadÚ__iter__Núutf-8T)Údoseq)	Ú
isinstanceÚstrÚbytesÚhasattrr2rr<Úencoder)ÚdataÚresultÚkÚvsÚvs     rAÚ_encode_paramsz#RequestEncodingMixin._encode_paramsjs'€õdS¥%˜LÑ)Ô)ð	؈KÝ
T˜6Ñ
"Ô
"ð	؈KÝ
T˜:Ñ
&Ô
&ð	؈FÝ(¨Ñ.Ô.ð

ð

‘2ݘb¥*Ñ-Ô-ðµW¸RÀÑ5LÔ5LðØ˜BØððAؐ}ØŸ
š
å5?ÀÅ3Ñ5GÔ5GÐ N §¢¨Ñ 1Ô 1Ð 1ÈQÝ5?ÀÅ3Ñ5GÔ5GÐ N §¢¨Ñ 1Ô 1Ð 1ÈQðñôðøðõ˜V¨4Ð0Ñ0Ô0Ð0àˆKrCc	óv—|std¦«‚t|t¦«rtd¦«‚g}t|pi¦«}t|pi¦«}|D]Ã\}}t|t¦«st	|d¦«s|g}|D]“}|t|t
¦«st
|¦«}| t|t
¦«r| d¦«n|t|t¦«r| 	d¦«n|f¦«Œ”ŒÄ|D]\}}d}d}	t|ttf¦«r;t|¦«dkr|\}
}n5t|¦«dkr|\}
}}n|\}
}}}	nt|¦«p|}
|}t|tt
tf¦«r|}n*t	|d¦«r| ¦«}n|€ŒÁ|}t!|||
|	¬	¦«}
|
 |¬
¦«| |
¦«Œt%|¦«\}}||fS)a¥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.rFNrGéérE)ÚnamerNÚfilenameÚheaders)Úcontent_type)Ú
ValueErrorrIrr2rLrKrJr<ÚdecoderMÚtupleÚlistÚlenr+Ú	bytearrayrEr	Úmake_multipartr
)ÚfilesrNÚ
new_fieldsÚfieldsÚfieldÚvalrRrPÚftÚfhÚfnÚfpÚfdataÚrfÚbodyrZs                rAÚ
_encode_filesz"RequestEncodingMixin._encode_filesˆs€ðð	;ÝÐ6Ñ7Ô7Ð7Ý
˜jÑ
)Ô
)ð	;ÝÐ9Ñ:Ô:Ð:àˆ
Ý   ¨Ñ,Ô,ˆÝ  ¨Ñ,Ô,ˆà ð	ð	‰JˆE3ݘ#zÑ*Ô*ð
µ'¸#¸zÑ2JÔ2Jð
ؐeØð

ð

Ø=å% a­Ñ/Ô/ð#Ý ™FœF˜à×%Ò%õ *¨%µÑ7Ô7ð'˜EŸLšL¨Ñ1Ô1Ð1à!&Ý1;¸A½sÑ1CÔ1CÐJ˜AŸHšH WÑ-Ô-Ð-Èð	ñôðøð


ðð	"ñ	"‰DˆAˆqàˆB؈Bݘ!e¥T˜]Ñ+Ô+ð	
ݐq‘6”6˜Q’;;Ø‘FB˜˜Ý˜‘V”V˜q’[[Ø!"‘JB˜˜B˜Bà%&‘NB˜˜B  å# AÑ&Ô&Ð+¨!Øå˜"s¥E­9Ð5Ñ6Ô6ð
ؐÝ˜˜VÑ$Ô$ð
ØŸš™	œ	ØØàå 1¨5¸2ÀrÐJÑJÔJˆBØ×Ò¨2ÐÑ.Ô.Ð.Ø×Ò˜bÑ!Ô!Ð!Ñ!å6°zÑBÔBшˆlà\Ð!Ð!rCN)Ú__name__Ú
__module__Ú__qualname__ÚpropertyrBÚstaticmethodrSrn©rCrAr5r5Tsh€€€€€Ø
ððñ„Xðð(ððñ„\ðð:ðB"ðB"ñ„\ðB"ðB"ðB"rCr5có—eZdZd„Zd„ZdS)ÚRequestHooksMixincó$—||jvrtd|›d¦«‚t|t¦«r"|j| |¦«dSt|d¦«r,|j| d„|D¦«¦«dSdS)zProperly register a hook.z.Unsupported event specified, with event name "ú"rFc3óDK—|]}t|t¦«¯|V—ŒdS©N)rIr)Ú.0Úhs  rAú	<genexpr>z2RequestHooksMixin.register_hook.<locals>.<genexpr>Øs1èè€Ð$PÐ$P¨1½
À1ÅhÑ8OÔ8OÐ$P QÐ$PÐ$PÐ$PÐ$PÐ$PÐ$PrCN)Úhooksr[rIrr<rLÚextend©r?ÚeventÚhooks   rAÚ
register_hookzRequestHooksMixin.register_hookÏs®€ð˜œ
Ð"Ð"ÝÐVÈeÐVÐVÐVÑWÔWÐWådHÑ%Ô%ð	QØŒJuÔ×$Ò$ TÑ*Ô*Ð*Ð*Ð*Ý
T˜:Ñ
&Ô
&ð	QØŒJuÔ×$Ò$Ð$PÐ$P°Ð$PÑ$PÔ$PÑPÔPÐPÐPÐPð	Qð	QrCcój—	|j| |¦«dS#t$rYdSwxYw)ziDeregister a previously registered hook.
        Returns True if the hook existed, False if not.
        TF)r~Úremover[r€s   rAÚderegister_hookz!RequestHooksMixin.deregister_hookÚsI€ð
	ØŒJuÔ×$Ò$ TÑ*Ô*Ð*ؐ4øÝð	ð	ð	ؐ55ð	øøøs‚ $¤
2±2N)rorprqrƒr†rtrCrArvrvÎs5€€€€€ð	Qð	Qð	Qð	ð	ð	ð	ð	rCrvcó:—eZdZdZ										dd„Zd„Zd„ZdS)Ú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]>
    Ncób—|€gn|}|€gn|}|€in|}|€in|}|	€in|	}	t¦«|_t|	 ¦«¦«D]\}}| ||¬¦«Œ||_||_||_||_||_	|
|_
||_||_||_
dS)N)rr‚)r&r~r^ÚitemsrƒÚmethodr:rYrbrNrÚparamsÚauthÚcookies)
r?r‹r:rYrbrNrŒrrŽr~rrPrRs
             rAÚ__init__zRequest.__init__sҀð\ˆrˆr tˆØm¨ˆØ˜""¨WˆØ~¨6ˆØm¨ˆå"‘_”_ˆŒ
ݘŸš™œÑ'Ô'ð	0ð	0‰DˆAˆqØ×Ò Q¨QÐÑ/Ô/Ð/Ð/àˆŒØˆŒØˆŒ؈Œ
؈Œ	؈Œ	؈ŒØˆŒ	؈ŒˆˆrCcó—d|j›dS)Nz
<Request [ú]>©r‹©r?s rAÚ__repr__zRequest.__repr__$s€Ø+˜DœKÐ+Ð+Ð+Ð+rCcóėt¦«}| |j|j|j|j|j|j|j|j	|j
|j¬¦
«
|S)zXConstructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.)
r‹r:rYrbrNrrŒrrŽr~)ÚPreparedRequestÚpreparer‹r:rYrbrNrrŒrrŽr~©r?r@s  rAr—zRequest.prepare'sa€åÑÔˆØ		Š	Ø”;ؔؔLØ”*ؔؔؔ;ؔؔLØ”*ð	ñ	
ô	
ð	
ðˆrC©
NNNNNNNNNN)rorprqÚ__doc__rr”r—rtrCrArˆrˆæsq€€€€€ððð:ØØØØ
ØØ
ØØØ
ð ð ð ð ðD,ð,ð,ðððððrCrˆcóŠ—eZdZdZd„Z										dd„Zd„Zd„Zd„Ze	d„¦«Z
d	„Zd
„Zdd„Z
d„Zdd„Zd„Zd„ZdS)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]>
    có€—d|_d|_d|_d|_d|_t¦«|_d|_dSrz)r‹r:rYÚ_cookiesrmr&r~Ú_body_positionr“s rArzPreparedRequest.__init__Ns@€àˆŒàˆŒàˆŒðˆŒ
àˆŒ	å"‘_”_ˆŒ
à"ˆÔÐÐrCNcó4—| |¦«| ||¦«| |¦«| |¦«| |||
¦«| ||¦«| |	¦«dS)z6Prepares the entire request with the given parameters.N)Úprepare_methodÚprepare_urlÚprepare_headersÚprepare_cookiesÚprepare_bodyÚprepare_authÚ
prepare_hooks)r?r‹r:rYrbrNrŒrrŽr~rs           rAr—zPreparedRequest.prepare_s €ð	
×Ò˜FÑ#Ô#Ð#Ø×Ò˜˜fÑ%Ô%Ð%Ø×Ò˜WÑ%Ô%Ð%Ø×Ò˜WÑ%Ô%Ð%Ø×Ò˜$  tÑ,Ô,Ð,Ø×Ò˜$ Ñ$Ô$Ð$ð	
×Ò˜5Ñ!Ô!Ð!Ð!Ð!rCcó—d|j›dS)Nz<PreparedRequest [r‘r’r“s rAr”zPreparedRequest.__repr__{s€Ø3 D¤KÐ3Ð3Ð3Ð3rCcó—t¦«}|j|_|j|_|j|j ¦«nd|_t|j¦«|_|j|_|j|_|j	|_	|Srz)
r–r‹r:rYÚcopyrrrmr~ržr˜s  rAr©zPreparedRequest.copy~ss€ÝÑÔˆØ”;ˆŒØ”ˆŒØ+/¬<Ð+CD”L×%Ò%Ñ'Ô'Ð'ȈŒ	Ý% d¤mÑ4Ô4ˆŒ
Ø”ˆŒØ”*ˆŒØÔ.ˆÔ؈rCcó|—||_|j-t|j ¦«¦«|_dSdS)zPrepares the given HTTP method.N)r‹r
Úupper)r?r‹s  rAr zPreparedRequest.prepare_method‰s:€àˆŒØŒ;Ð"Ý*¨4¬;×+<Ò+<Ñ+>Ô+>Ñ?Ô?ˆDŒKˆKˆKð#Ð"rCcó—ddl}	| |d¬¦« d¦«}n#|j$rt‚wxYw|S)NrT)Úuts46rG)ÚidnarMr\Ú	IDNAErrorÚUnicodeError)Úhostr®s  rAÚ_get_idna_encoded_hostz&PreparedRequest._get_idna_encoded_hosts]€àˆˆˆð	Ø—;’;˜t¨4;Ñ0Ô0×7Ò7¸Ñ@Ô@ˆDˆDøØŒ~ð	ð	ð	ÝÐð	øøøàˆs	†*1±Ac
óΗt|t¦«r| d¦«}nt|¦«}| ¦«}d|vr0| ¦« d¦«s	||_dS	t|¦«\}}}}}}}	n #t$r}
t|
jނd}
~
wwxYw|std|›d|›d¦«‚|std|›d¦«‚t|¦«s4	| |¦«}nA#t$rtd	¦«‚wxYw| d
¦«rtd	¦«‚|pd}|r|dz
}||z
}|r|d|›z
}|sd
}t|ttf¦«rt!|¦«}| |¦«}|r|r|›d|›}n|}t%t'|||d||	g¦«¦«}||_dS)zPrepares the given HTTP URL.Úutf8ú:ÚhttpNzInvalid URL z0: No scheme supplied. Perhaps you meant https://r8z: No host suppliedzURL has an invalid label.)Ú*ú.r9ú@r7ú&)rIrKr\rJÚlstripÚlowerÚ
startswithr:rrr#Úargsr$rr²r°r
rSr/r)
r?r:rŒÚschemerr±Úportr;r=ÚfragmentÚeÚnetlocÚ
enc_paramss
             rAr¡zPreparedRequest.prepare_url™sw€õc5Ñ!Ô!ð	Ø—*’*˜VÑ$Ô$ˆCˆCåc‘(”(ˆCðjŠj‰lŒlˆð
#ˆ:ˆ:˜cŸiši™kœk×4Ò4°VÑ<Ô<ˆ:؈DŒHØˆFð	&Ý>Gȹn¼nÑ;ˆFD˜$  d¨E°8°8øÝ!ð	&ð	&ð	&ݘaœfÐ%Ð%øøøøð	&øøøðð	Ýð4˜sð4ð4Ø-0ð4ð4ð4ñôð
ð
ð	GÝÐE¨CÐEÐEÐEÑFÔFÐFõ  Ñ%Ô%ð	:ð
>Ø×2Ò2°4Ñ8Ô8øÝð
>ð
>ð
>Ý Ð!<Ñ=Ô=Ð=ð
>øøøà
_Š_˜ZÑ
(Ô
(ð	:ÝÐ8Ñ9Ô9Ð9𐘈Øð	Øc‰MˆFؐ$‰ˆØð	!Øj˜$jjÑ ˆFðð	؈Dåfs¥E˜lÑ+Ô+ð	.Ý% fÑ-Ô-ˆFà×(Ò(¨Ñ0Ô0ˆ
Øð	#Øð
#Ø Ð/Ð/ :Ð/Ð/à"å* f¨f°d¸DÀ%ÈÐ%RÑSÔSÑTÔTˆØˆŒˆˆs$ÂBÂ
B9Â&B4Â4B9Ã9DÄD)có¸—t¦«|_|rB| ¦«D]/}t|¦«|\}}||jt	|¦«<Œ.dSdS)z Prepares the given HTTP headers.N)r(rYrŠr)r
)r?rYÚheaderrWÚvalues     rAr¢zPreparedRequest.prepare_headersãss€õ+Ñ,Ô,ˆŒØð	=Ø!Ÿ-š-™/œ/ð
=ð
=å% fÑ-Ô-Ð-Ø$‘eØ7<”Õ-¨dÑ3Ô3Ñ4Ð4ð	=ð	=ð
=ð
=rCc
óþ—d}d}|si|gd}	tj|d¬¦«}n##t$r}t||¬¦«‚d}~wwxYwt	|t
¦«s| d¦«}tt|d¦«t	|ttttf¦«g¦«}|r·	t|¦«}n#ttt f$rd}YnwxYw|}t#|dd¦«>	| ¦«|_n##t($rt+¦«|_YnwxYw|rt-d	¦«‚|rt/|¦«|jd
<n’d|jd<n‡|r| ||¦«\}}nA|r?| |¦«}t	|t¦«st|d
¦«rd}nd}| |¦«|rd|jvr
||jd<||_dS)z"Prepares the given HTTP body data.Nzapplication/jsonF)Ú	allow_nan)ÚrequestrGrFÚtellz1Streamed bodies and files are mutually exclusive.úContent-LengthÚchunkedzTransfer-EncodingrEz!application/x-www-form-urlencodedzcontent-typezContent-Type)ÚcomplexjsonÚdumpsr[r"rIrKrMÚallrLrr^r]rr1Ú	TypeErrorÚAttributeErrorrÚgetattrrËržÚOSErrorÚobjectÚNotImplementedErrorrrYrnrSÚprepare_content_lengthrm)	r?rNrbrrmrZÚveÚ	is_streamÚlengths	         rAr¤zPreparedRequest.prepare_bodyîs}€ðˆØˆàð	,˜Ð(ð.ˆLð
9Ý"Ô(¨¸Ð?Ñ?Ô?øÝð
9ð
9ð
9Ý& r°4Ð8Ñ8Ô8Ð8øøøøð
9øøøõ˜d¥EÑ*Ô*ð
,Ø—{’{ 7Ñ+Ô+å嘘jÑ)Ô)ݘt¥jµ$½½wÐ%GÑHÔHÐHð
ñ
ô
ˆ	ðð,	<ð
Ý" 4™œøÝ~Õ/CÐDð
ð
ð
ؐð
øøøðˆDåt˜V TÑ*Ô*Ð6ð3Ø*.¯)ª)©+¬+DÔ'Ð'øÝð3ð3ð3õ+1©(¬(DÔ'Ð'Ð'ð3øøøð
ð
Ý)ØGñôððð
>Ý1<¸VÑ1DÔ1D”Ð-Ñ.Ð.à4=”Ð0Ñ1Ð1ðð
KØ'+×'9Ò'9¸%ÀÑ'FÔ'FÑ$||àðKØ×.Ò.¨tÑ4Ô4DÝ! $­
Ñ3Ô3ðKµw¸tÀVÑ7LÔ7LðKØ'+˜˜à'J˜à×'Ò'¨Ñ-Ô-Ð-ðð
< °t´|Ð!CÐ!CØ/;”˜^Ñ,àˆŒ	ˆ	ˆ	s6Œ#£
A­>¾AÂ9C	Ã	C%Ã$C%Ã<DÄD6Ä5D6cóė|,t|¦«}|rt|¦«|jd<dSdS|jdvr&|j d¦«€d|jd<dSdSdS)z>Prepare Content-Length header based on request method and bodyNrÌ)ÚGETÚHEADÚ0)r1rrYr‹Úget)r?rmrÚs   rAr×z&PreparedRequest.prepare_content_length<sŽ€àÐݘt‘_”_ˆFØð
Eõ2=¸VÑ1DÔ1D”Ð-Ñ.Ð.Ð.ð
Eð
Eð

ŒK˜Ð.Ð.Ø”× Ò Ð!1Ñ2Ô2Ð:ð.1ˆDŒLÐ)Ñ*Ð*Ð*ð
/Ð.Ø:Ð:rCr9cóJ—|€'t|j¦«}t|¦«r|nd}|rwt|t¦«rt|¦«dkr	t
|Ž}||¦«}|j |j¦«| 	|j
¦«dSdS)z"Prepares the given HTTP auth data.NrU)r*r:ÚanyrIr]r_rÚ__dict__Úupdater×rm)r?rr:Úurl_authÚrs     rAr¥zPreparedRequest.prepare_authLs¯€ðˆ<Ý(¨¬Ñ2Ô2ˆHÝ" 8™}œ}Ð688°$ˆDàð	3ݘ$¥Ñ&Ô&ð
,­3¨t©9¬9¸ª>¨>å$ dÐ+ðT‘
”
ˆAð
ŒM× Ò  ¤Ñ,Ô,Ð,ð
×'Ò'¨¬	Ñ2Ô2Ð2Ð2Ð2ð	3ð	3rCcó¸—t|tj¦«r||_nt	|¦«|_t|j|¦«}|||jd<dSdS)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.
        NÚCookie)rIrÚ	CookieJarrrrrY)r?rŽÚ
cookie_headers   rAr£zPreparedRequest.prepare_cookiesbsb€õgyÔ2Ñ3Ô3ð	9Ø#ˆDŒMˆMå/°Ñ8Ô8ˆDŒMå)¨$¬-¸Ñ>Ô>ˆ
ØÐ$Ø%2ˆDŒL˜Ñ"Ð"Ð"ð%Ð$rCcóP—|pg}|D]}| |||¦«ŒdS)zPrepares the given hooks.N)rƒ)r?r~rs   rAr¦zPreparedRequest.prepare_hooksvsC€ð
˜ˆØð	4ð	4ˆEØ×Ò˜u e¨E¤lÑ3Ô3Ð3Ð3ð	4ð	4rCr™rz)r9)rorprqršrr—r”r©r rsr²r¡r¢r¤r×r¥r£r¦rtrCrAr–r–9s(€€€€€ððð(#ð#ð#ð&ØØØØ
ØØ
ØØØ
ð"ð"ð"ð"ð84ð4ð4ð	ð	ð	ð@ð@ð@ðððñ„\ððHðHðHðT	=ð	=ð	=ðLðLðLðLð\1ð1ð1ð 3ð3ð3ð3ð,3ð3ð3ð(4ð4ð4ð4ð4rCr–có(—eZdZdZgd¢Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
ed„¦«Zed
„¦«Zed„¦«Zed„¦«Zed„¦«Zdd„Zeddfd„Zed„¦«Zed„¦«Zd„Zed„¦«Zd„Zd„ZdS)ÚResponsezhThe :class:`Response <Response>` object, which contains a
    server's response to an HTTP request.
    )
Ú_contentÚstatus_coderYr:ÚhistoryÚencodingÚreasonrŽÚelapsedrÊcó—d|_d|_d|_d|_t	¦«|_d|_d|_d|_g|_	d|_
ti¦«|_tjd¦«|_d|_dS)NFr)ríÚ_content_consumedÚ_nextrîr(rYÚrawr:rðrïrñrrŽÚdatetimeÚ	timedeltaròrÊr“s rArzResponse.__init__’s€ØˆŒ
Ø!&ˆÔ؈Œ
ð ˆÔõ
+Ñ,Ô,ˆŒð
ˆŒðˆŒðˆŒ
ð
ˆŒðˆŒõ+¨2Ñ.Ô.ˆŒõ Ô)¨!Ñ,Ô,ˆŒðˆŒˆˆrCcó—|Srzrtr“s rAÚ	__enter__zResponse.__enter__Ás€ØˆrCcó.—| ¦«dSrz)Úclose)r?r¾s  rAÚ__exit__zResponse.__exit__Äs€Ø
Š
‰ŒˆˆˆrCcóF‡—‰js‰jˆfd„‰jD¦«S)Ncó4•—i|]}|t‰|d¦«“ŒSrz)rÓ)r{Úattrr?s  €rAú
<dictcomp>z)Response.__getstate__.<locals>.<dictcomp>Ís'ø€ÐKÐKÐK°D•g˜d D¨$Ñ/Ô/ÐKÐKÐKrC)rôÚcontentÚ	__attrs__r“s`rAÚ__getstate__zResponse.__getstate__Çs3ø€ðÔ%ð	ØŒLˆLàKÐKÐKÐK¸D¼NÐKÑKÔKÐKrCcó —| ¦«D]\}}t|||¦«Œt|dd¦«t|dd¦«dS)NrôTrö)rŠÚsetattr)r?ÚstaterWrÇs    rAÚ__setstate__zResponse.__setstate__Ïs_€Ø Ÿ;š;™=œ=ð	'ð	'‰KˆD%ÝD˜$ Ñ&Ô&Ð&Ð&õ	Ð)¨4Ñ0Ô0Ð0ݐe˜TÑ"Ô"Ð"Ð"Ð"rCcó—d|j›dS)Nz<Response [r‘)rîr“s rAr”zResponse.__repr__×s€Ø1˜TÔ-Ð1Ð1Ð1Ð1rCcó—|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``.
        ©Úokr“s rAÚ__bool__zResponse.__bool__Úó€ðŒwˆrCcó—|jSrrr“s rAÚ__nonzero__zResponse.__nonzero__ärrCcó,—| d¦«S)z,Allows you to use a response as an iterator.é€)Úiter_contentr“s rArFzResponse.__iter__îs€à× Ò  Ñ%Ô%Ð%rCcóT—	| ¦«n#t$rYdSwxYwdS)axReturns True if :attr:`status_code` is less than 400, False if not.

        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``.
        FT)Úraise_for_statusr!r“s rAr
zResponse.okòsC€ð	Ø×!Ò!Ñ#Ô#Ð#Ð#øÝð	ð	ð	ؐ55ð	øøøàˆts‚—
%¤%có0—d|jvo
|jtvS)zšTrue if this Response is a well-formed HTTP redirect that could have
        been processed automatically (by :meth:`Session.resolve_redirects`).
        Úlocation)rYrîÚREDIRECT_STATIr“s rAÚis_redirectzResponse.is_redirects€ð
˜Tœ\Ð)ÐP¨dÔ.>Å.Ð.PÐPrCcóR—d|jvo|jtjtjfvS)z@True if this Response one of the permanent versions of redirect.r)rYrîr'Úmoved_permanentlyÚpermanent_redirectr“s rAÚis_permanent_redirectzResponse.is_permanent_redirects4€ð˜Tœ\Ð)ð
¨dÔ.>ÝÔ#ÝÔ$ðC
ð/
ð	
rCcó—|jS)zTReturns a PreparedRequest for the next request in a redirect chain, if there is one.)rõr“s rAÚnextz
Response.nexts€ðŒzÐrCcóR—ttj|j¦«dSdS)zOThe apparent encoding, provided by the charset_normalizer or chardet libraries.NrðrG)rÚdetectrr“s rAÚapparent_encodingzResponse.apparent_encodings(€õÐÝ”> $¤,Ñ/Ô/°
Ô;Ð;ð7rCrFcóZ‡‡—ˆˆfd„}‰jr(t‰jt¦«rt	¦«‚‰5t‰t
¦«s t
dt‰¦«›d¦«‚t‰j‰¦«}|¦«}‰jr|n|}|rt|‰¦«}|S)aøIterates over the response data.  When stream=True is set on the
        request, this avoids reading the content at once into memory for
        large responses.  The chunk size is the number of bytes it should
        read into memory.  This is not necessarily the length of each item
        returned as decoding can take place.

        chunk_size must be of type int or None. A value of None will
        function differently depending on the value of `stream`.
        stream=True will read data as it arrives in whatever size the
        chunks are received. If stream=False, data is returned as
        a single chunk.

        If decode_unicode is True, content will be decoded using the best
        available encoding based on the response.
        c3ó¼•K—t‰jd¦«r™	‰j ‰d¬¦«Ed{V—†n˜#t$r}t	|¦«‚d}~wt
$r}t
|¦«‚d}~wt$r}t|¦«‚d}~wt$r}t|¦«‚d}~wwxYw	‰j ‰¦«}|sn|V—Œ"d‰_dS)NÚstreamT)Údecode_content)
rLrör&rrrr rrrÚRequestsSSLErrorrErô)rÂÚchunkÚ
chunk_sizer?s  €€rAÚgeneratez'Response.iter_content.<locals>.generate0s'øèè€åt”x Ñ*Ô*ð
 ð	.Ø#œxŸš¨zÈ$˜ÑOÔOÐOÐOÐOÐOÐOÐOÐOÐOøÝ$ð2ð2ð2Ý.¨qÑ1Ô1Ð1øøøøÝ"ð2ð2ð2Ý.¨qÑ1Ô1Ð1øøøøÝ'ð-ð-ð-Ý)¨!Ñ,Ô,Ð,øøøøÝð.ð.ð.Ý*¨1Ñ-Ô-Ð-øøøøð.øøøð Ø œHŸMšM¨*Ñ5Ô5EØ ðØØKKKð	 ð&*ˆDÔ"Ð"Ð"s9š"=½
B/ÁAÁ
B/Á#A2Á2
B/Á?BÂ
B/ÂB*Â*B/Nz+chunk_size must be an int, it is instead a r¸)
rôrIríÚboolr%ÚintrÑÚtyper-r0)r?r*Údecode_unicoder+Ú
reused_chunksÚ
stream_chunksÚchunkss``     rArzResponse.iter_contents×øø€ð"	*ð	*ð	*ð	*ð	*ð	*ð.Ô!ð	¥j°´ÅÑ&EÔ&Eð	Ý%Ñ'Ô'Ð'Ø
Ð
#­J°zÅ3Ñ,GÔ,GÐ
#ÝØQ½dÀ:Ñ>NÔ>NÐQÐQÐQñôð
õ$ D¤M°:Ñ>Ô>ˆ
à ˜™
œ
ˆ
à"&Ô"8ÐK¸mˆàð	BÝ3°F¸DÑAÔAˆFàˆ
rCNc#ó>K—d}| ||¬¦«D]x}|||z}|r| |¦«}n| ¦«}|r7|dr/|r-|dd|dkr| ¦«}nd}|Ed{V—†Œy||V—dSdS)zõIterates over the response data, one line at a time.  When
        stream=True is set on the request, this avoids reading the
        content at once into memory for large responses.

        .. note:: This method is not reentrant safe.
        N)r*r/éÿÿÿÿ)rÚsplitÚ
splitlinesÚpop)r?r*r/Ú	delimiterÚpendingr)Úliness       rAÚ
iter_lineszResponse.iter_linesYsíèè€ðˆà×&Ò&Ø!°.ð'ñ
ô
ð	ð	ˆEðÐ"Ø %™àð
+ØŸš IÑ.Ô.à×(Ò(Ñ*Ô*àð
˜˜rœð
 uð
°°r´¸2´À%ÈÄ)Ò1KÐ1KØŸ)š)™+œ+ààÐÐÐÐÐÐÐÐàÐØˆMˆMˆMˆMˆMðÐrCcóø—|jdurd|jrtd¦«‚|jdks|j€d|_n4d | t¦«¦«pd|_d|_|jS)z"Content of the response, in bytes.Fz2The content for this response was already consumedrNrCT)rírôÚRuntimeErrorrîrör>rÚCONTENT_CHUNK_SIZEr“s rArzResponse.contentzs„€ðŒ=˜EÐ!Ð!àÔ%ð
YÝ"Ð#WÑXÔXÐXàÔ 1Ò$Ð$¨¬Ð(8Ø $”

à #§¢¨×):Ò):Õ;MÑ)NÔ)NÑ OÔ OÐ VÐSV”
à!%ˆÔðŒ}ÐrCcóҗd}|j}|jsdS|j€|j}	t|j|d¬¦«}n-#tt
f$rt|jd¬¦«}YnwxYw|S)aÚContent of the response, in unicode.

        If Response.encoding is None, encoding will be guessed using
        ``charset_normalizer`` or ``chardet``.

        The encoding of the response content is determined based solely on HTTP
        headers, following RFC 2616 to the letter. If you can take advantage of
        non-HTTP knowledge to make a better guess at the encoding, you should
        set ``r.encoding`` appropriately before accessing this property.
        Nr9Úreplace)Úerrors)rðrr#rJÚLookupErrorrÑ)r?rrðs   rAÚtextz
Response.texts€ðˆØ”=ˆàŒ|ð	ؐ2ðŒ=Ð ØÔ-ˆHð		:ݘ$œ,¨¸ÐCÑCÔCˆGˆGøÝYÐ'ð	:ð	:ð	:õ˜$œ,¨yÐ9Ñ9Ô9ˆGˆGˆGð	:øøøðˆs¢:º'A$Á#A$cóÞ—|js|jr–t|j¦«dkr~t|j¦«}|h	t	j|j |¦«fi|¤ŽS#t$rYn1t$r%}t|j
|j|j¦«‚d}~wwxYw	t	j|j
fi|¤ŽS#t$r%}t|j
|j|j¦«‚d}~wwxYw)zýReturns the json-encoded content of a response, if any.

        :param \*\*kwargs: Optional arguments that ``json.loads`` takes.
        :raises requests.exceptions.JSONDecodeError: If the response body does not
            contain valid json.
        rVN)rðrr_r,rÎÚloadsr\ÚUnicodeDecodeErrorrÚRequestsJSONDecodeErrorÚmsgÚdocÚposrC)r?ÚkwargsrðrÂs    rArz
Response.json³s €ðŒ}ð	G ¤ð	Gµ#°d´lÑ2CÔ2CÀaÒ2GÐ2Gõ
& d¤lÑ3Ô3ˆHØÐ#ð	GÝ&Ô,¨T¬\×-@Ò-@ÀÑ-JÔ-JÐUÐUÈfÐUÐUÐUøÝ)ðððð
DÝ&ðGðGðGÝ1°!´%¸¼ÀÄÑFÔFÐFøøøøðGøøøð	?ÝÔ$ T¤YÐ9Ð9°&Ð9Ð9Ð9øÝð	?ð	?ð	?õ*¨!¬%°´¸¼Ñ>Ô>Ð>øøøøð	?øøøs5¾)A(Á(
B"Á4	B"Á= BÂB"Â&B=Â=
C,à C'Ã'C,cóȗ|j d¦«}i}|rCt|¦«}|D]1}| d¦«p| d¦«}|||<Œ2|S)z8Returns the parsed header links of the response, if any.ÚlinkÚrelr:)rYrßr.)r?rÆÚresolved_linksÚlinksrMÚkeys      rArPzResponse.linksÔss€ð”×!Ò! &Ñ)Ô)ˆàˆàð	+Ý& vÑ.Ô.ˆEàð
+ð
+Ø—h’h˜u‘o”oÐ8¨¯ª°%©¬Ø&*˜sÑ#Ð#àÐrCcó¤—d}t|jt¦«rF	|j d¦«}n1#t$r|j d¦«}YnwxYw|j}d|jcxkrdkrnn|j›d|›d|j›}n)d|jcxkrdkrnn|j›d	|›d|j›}|rt||¬
¦«‚dS)z+Raises :class:`HTTPError`, if one occurred.r9rGz
iso-8859-1iiôz Client Error: z
 for url: iXz Server Error: )ÚresponseN)rIrñrKr\rFrîr:r!)r?Úhttp_error_msgrñs   rArzResponse.raise_for_statusås1€ðˆÝd”k¥5Ñ)Ô)ð
	!ð

:Øœ×+Ò+¨GÑ4Ô4øÝ%ð
:ð
:ð
:Øœ×+Ò+¨LÑ9Ô9ð
:øøøð”[ˆFà$Ô"Ð(Ð(Ò(Ð( SÒ(Ð(Ð(Ð(Ð(àÔ#ÐPÐP°FÐPÐPÀdÄhÐPÐPð
ˆNðDÔ$Ð
*Ð
*Ò
*Ð
* sÒ
*Ð
*Ð
*Ð
*Ð
*àÔ#ÐPÐP°FÐPÐPÀdÄhÐPÐPð
ðð	;ݘN°TÐ:Ñ:Ô:Ð:ð	;ð	;sž9¹$A ÁA cóŽ—|js|j ¦«t|jdd¦«}||¦«dSdS)zØReleases the connection back to the pool. Once this method has been
        called the underlying ``raw`` object must not be accessed again.

        *Note: Should not normally need to be called explicitly.*
        Úrelease_connN)rôrörürÓ)r?rVs  rArüzResponse.closesQ€ðÔ%ð	ØŒHNŠNÑÔÐå˜tœx¨¸Ñ>Ô>ˆØÐ#ØˆL‰NŒNˆNˆNˆNð$Ð#rC)rF)rorprqršrrrúrýrrr”rrrFrrr
rrr r#rÚITER_CHUNK_SIZEr;rrCrrPrrürtrCrArìrì€s÷€€€€€ððððð€Ið-ð-ð-ð^ððððððLðLðLð#ð#ð#ð2ð2ð2ððððððð&ð&ð&ðððñ„XðððQðQñ„XðQðð
ð
ñ„Xð
ðððñ„Xððððñ„Xðð8ð8ð8ð8ðv)¸È$ðððððBððñ„Xðð$ð#ð#ñ„Xð#ðJ?ð?ð?ðBððñ„Xðð ;ð;ð;ð:ððððrCrì)Rršr÷Úencodings.idnaÚ	encodingsÚiorÚurllib3_odigos.exceptionsrrrrrÚurllib3_odigos.fieldsr	Úurllib3_odigos.filepostr
Úurllib3_odigos.utilrÚ_internal_utilsr
rrrÚcompatrrrrrrrrrÎrrrrŽrrrÚ
exceptionsrrr r!r"r#rGr$r(r%r~r&Ústatus_codesr'Ú
structuresr(Úutilsr)r*r+r,r-r.r/r0r1r2ÚmovedÚfoundÚotherÚtemporary_redirectrrÚDEFAULT_REDIRECT_LIMITr>rWr5rvrˆr–rìrtrCrAú<module>rjsðððð€€€ð
ÐÐÐØ#Ð#Ð#Ð#Ð#Ð#ððððððððððððððð/Ð.Ð.Ð.Ð.Ð.Ø=Ð=Ð=Ð=Ð=Ð=Ø)Ð)Ð)Ð)Ð)Ð)à?Ð?Ð?Ð?Ð?Ð?Ð?Ð?ØÐÐÐÐÐððððððððððððððððððð(Ð'Ð'Ð'Ð'Ð'Ø3Ð3Ð3Ð3Ð3Ð3Ð3Ð3Ð3Ð3ØMÐMÐMÐMÐMÐMÐMÐMÐMÐMðððððððððððððððððCÐBÐBÐBÐBÐBØ%Ð%Ð%Ð%Ð%Ð%Ø4Ð4Ð4Ð4Ð4Ð4Ø+Ð+Ð+Ð+Ð+Ð+Ø Ð Ð Ð Ð Ð ØÐÐÐÐÐØ+Ð+Ð+Ð+Ð+Ð+ððððððððððððððððððððððððð 
„KØ	„KØ	„KØ	ÔØ	Ôð€ðÐØÐØ€ðw"ðw"ðw"ðw"ðw"ñw"ôw"ðw"ðtððððñôðð0PðPðPðPðPÐñPôPðPðfD4ðD4ðD4ðD4ðD4Ð*Ð,=ñD4ôD4ðD4ðN
MðMðMðMðMñMôMðMðMðMrC