+
    Q?j                    ^   ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RIt^ RIHtHt ^ RIHtHt ^RIHtHtHtHt ^RIHtHtHtHtHtHtHt ^RI H!t!H"t"H#t#H$t$H%t%H&t&H't' ^RI(H)t) ^R	I*H+t+ ^R
I,H-t-H.t.H/t/H0t0H1t1H2t2H3t3H4t4H5t5H6t6H7t7 ^RI8H9t9 ^RI:H;t;H<t< . R$Ot=RR0t>]
P~                  ! R4      t@R R ltAR%R R lltBR%R R lltCR R ltDR R ltER R ltF ! R  R]
P                  ]H]H3,          4      tI ! R! R4      tJ ! R" R4      tK ! R# R]
P                  ]H]H3,          4      tLR# )&    )annotationsN)AsyncGeneratorMapping)Cookie	CookieJar)
ByteStreamUnattachedStreamencode_requestencode_response)ByteChunkerContentDecoderIdentityDecoderLineDecoderMultiDecoderTextChunkerTextDecoder)CookieConflictHTTPStatusErrorRequestNotReadResponseNotReadStreamClosedStreamConsumedrequest_context)(get_multipart_boundary_from_content_type)codes)AsyncByteStreamCookieTypesHeaderTypesQueryParamTypesRequestContentRequestDataRequestExtensionsRequestFilesResponseContentResponseExtensionsSyncByteStream)URL)to_bytes_or_strto_strCookiesHeadersRequestResponseauthorizationzproxy-authorization_Tc                    V ^8  d   QhRRRR/# )   encodingstrreturnbool )formats   "w/home/vela/workspace/domain/tn-silver/web/tn-site/.runtime/imagegen-venv/lib/python3.14/site-packages/httpx2/_models.py__annotate__r9   :   s            c                X     \         P                  ! V 4       R#   \         d     R# i ; i)z/
Return `True` if `encoding` is a known codec.
FT)codecslookupLookupErrorr2   s   &r8   _is_known_encodingr@   :   s,    h   s    ))c               $    V ^8  d   QhRRRRRR/# )r1   keystr | bytesr2   
str | Noner4   bytesr6   )r7   s   "r8   r9   r9   E   s&     N N{ Nj NE Nr:   c                h    \        V \        4      '       d   V # T P                  T;'       g    R4      # )z=
Coerce str/bytes into a strictly byte-wise HTTP header key.
ascii)
isinstancerE   encode)rB   r2   s   &&r8   _normalize_header_keyrJ   E   s,     S%((3Mcjj9L9LW.MMr:   c               $    V ^8  d   QhRRRRRR/# )r1   valuerC   r2   rD   r4   rE   r6   )r7   s   "r8   r9   r9   L   s"     - -; -* -PU -r:   c                    \        V \        4      '       d   V # \        V \        4      '       g   \        R\	        V 4       24      hT P                  T;'       g    R4      # )z?
Coerce str/bytes into a strictly byte-wise HTTP header value.
z'Header value must be str or bytes, not rG   )rH   rE   r3   	TypeErrortyperI   )rL   r2   s   &&r8   _normalize_header_valuerP   L   sQ     %eS!!A$u+OPP<<++G,,r:   c                    V ^8  d   QhRRRR/# )r1   content_typer3   r4   rD   r6   )r7   s   "r8   r9   r9   W   s     1 1c 1j 1r:   c                j    \         P                  P                  4       pWR &   VP                  RR7      # )content-typeN)failobj)emailmessageMessageget_content_charset)rR   msgs   & r8   _parse_content_type_charsetr[   W   s2     --


!C&""4"00r:   c                    V ^8  d   QhRRRR/# )r1   rL   r3   r4   zlist[dict[str, str]]r6   )r7   s   "r8   r9   r9   _   s     " "s "'; "r:   c                   . pRpV P                  V4      p V '       g   V# \        P                  ! RV 4       F  p VP                  R^4      w  rERVP                  R4      /pVP                  R4       F9  p VP                  R4      w  rT P                  T4      YhP                  T4      &   K;  	  VP	                  V4       K  	  V#   \         d    TRrT Li ; i  \         d      K:  i ; i)a  
Returns a list of parsed link headers, for more info see:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link
The generic syntax of those is:
Link: < uri-reference >; param1=value1; param2="value2"
So for instance:
Link; '<http:/.../front.jpeg>; type="image/jpeg",<http://.../back.jpeg>;'
would return
    [
        {"url": "http:/.../front.jpeg", "type": "image/jpeg"},
        {"url": "http://.../back.jpeg"},
    ]
:param value: HTTP Link entity-header field
:return: list of parsed link headers
z '"z, *<; urlz<> '"=)stripresplit
ValueErrorappend)	rL   linksreplace_charsvalr`   paramslinkparamrB   s	   &        r8   _parse_header_linksrm   _   s      #%EMKK&Exx&	"))C+KC syy*+\\#&E"[[-
 .3[[-GD=)* ' 	T ' L  	"r	"  s#   C7CCCC+*C+c                    V ^8  d   QhRRRR/# )r1   itemsz4typing.Iterable[tuple[typing.AnyStr, typing.AnyStr]]r4   z4typing.Iterator[tuple[typing.AnyStr, typing.AnyStr]]r6   )r7   s   "r8   r9   r9      s      ?9r:   c              #     "   V  F9  w  r\        VP                  4       4      \        9   d   \        R VR7      pW3x  K;  	  R# 5i)z[secure])match_type_ofN)r)   lowerSENSITIVE_HEADERSr(   )ro   kvs   &  r8   _obfuscate_sensitive_headersrv      s:      !'') 11
!<Ad
 s   AAc                     ] tR t^tRtR6R R llt]R R l4       t]P                  R R l4       t]R	 R
 l4       t	R R lt
R R ltR R ltR R lt]P                  R R l4       t]P                  R R l4       tR7R R lltR8R R lltR7R R lltR R ltR R  ltR! R" ltR# R$ ltR% R& ltR' R( ltR) R* ltR+ R, ltR- R. ltR/ R0 ltR1 R2 ltR3 R4 ltR5tR# )9r+   z1
HTTP headers, as a case-insensitive multi-dict.
Nc               $    V ^8  d   QhRRRRRR/# )r1   headersHeaderTypes | Noner2   rD   r4   Noner6   )r7   s   "r8   r9   Headers.__annotate__   s(     " "#" " 
	"r:   c                	   . V n         \        V\        4      '       d   \        VP                   4      V n         M\        V\        4      '       d\   VP                  4        FF  w  r4\        W24      p\        WB4      pV P                   P                  WUP                  4       V34       KH  	  MPVeM   V FF  w  r4\        W24      p\        WB4      pV P                   P                  WUP                  4       V34       KH  	  W n
        R # N)_listrH   r+   listr   ro   rJ   rP   rf   rr   	_encoding)selfry   r2   rt   ru   	bytes_keybytes_values   &&&    r8   __init__Headers.__init__   s    
 8:
gw''gmm,DJ))1!>	5aB

!!9oo.?"MN (  1!>	5aB

!!9oo.?"MN  
 "r:   c                   V ^8  d   QhRR/# r1   r4   r3   r6   )r7   s   "r8   r9   r|      s      # r:   c                   V P                   fZ   R FL  pV P                   F(  w  r# VP                  V4       VP                  V4       K*  	  Wn          V P                   # 	  RV n         V P                   #   \         d      Kr  i ; i)zV
Header encoding is mandated as ascii, but we allow fallbacks to utf-8
or iso-8859-1.
z
iso-8859-1)rG   utf-8)r   rawdecodeUnicodeDecodeError)r   r2   rB   rL   s   &   r8   r2   Headers.encoding   s     >>!."&((JC

8,X. #+ &.N
 ~~! / ".~~ . s   "A44BBc                    V ^8  d   QhRRRR/# r1   rL   r3   r4   r{   r6   )r7   s   "r8   r9   r|      s      c d r:   c                	    Wn         R # r~   )r   r   rL   s   &&r8   r2   r      s    r:   c                   V ^8  d   QhRR/# )r1   r4   zlist[tuple[bytes, bytes]]r6   )r7   s   "r8   r9   r|      s     F F. Fr:   c                X    V P                    UUUu. uF	  w  rq1V3NK  	  uppp# u upppi )z8
Returns a list of the raw header items, as byte pairs.
)r   )r   raw_key_rL   s   &   r8   r   Headers.raw   s(    
 ;?**E*%6W% *EEEs   %c                   V ^8  d   QhRR/# )r1   r4   ztyping.KeysView[str]r6   )r7   s   "r8   r9   r|      s     Y Y* Yr:   c                	    V P                    UUUu/ uF!  w  rq2P                  V P                  4      R bK#  	  upppP                  4       # u upppi r~   )r   r   r2   keys)r   r   rB   _values   &   r8   r   Headers.keys   s;    FJjjQjNAF

4==)4/jQVVXXQs   'Ac                   V ^8  d   QhRR/# )r1   r4   ztyping.ValuesView[str]r6   )r7   s   "r8   r9   r|      s     	$ 	$. 	$r:   c                	   / pV P                    F_  w  r#pVP                  V P                  4      pVP                  V P                  4      pWQ9   d   W;;,          R V 2,          uu&   K[  WaV&   Ka  	  VP                  4       # ), )r   r   r2   valuesr   values_dictr   rB   rL   str_key	str_values   &      r8   r   Headers.values   sq    &(!ZZMAEjj/GT]]3I%$"YK(88$'0G$ ( !!##r:   c                   V ^8  d   QhRR/# )r1   r4   ztyping.ItemsView[str, str]r6   )r7   s   "r8   r9   r|      s     # #1 #r:   c                   / pV P                    F_  w  r#pVP                  V P                  4      pVP                  V P                  4      pWQ9   d   W;;,          RV 2,          uu&   K[  WaV&   Ka  	  VP                  4       # )z
Return `(key, value)` items of headers. Concatenate headers
into a single comma separated value when a key occurs multiple times.
r   )r   r   r2   ro   r   s   &      r8   ro   Headers.items   ss    
 ')!ZZMAEjj/GT]]3I%$"YK(88$'0G$ (   ""r:   c                   V ^8  d   QhRR/# )r1   r4   zlist[tuple[str, str]]r6   )r7   s   "r8   r9   r|      s     j j2 jr:   c           	         V P                    UUUu. uF;  w  rq2P                  V P                  4      VP                  V P                  4      3NK=  	  uppp# u upppi )z
Return a list of `(key, value)` pairs of headers. Allow multiple
occurrences of the same key without concatenating into a single
comma separated value.
)r   r   r2   )r   r   rB   rL   s   &   r8   multi_itemsHeaders.multi_items   sH     _c^h^hi^h]QUZDMM*ELL,GH^hiiis   AAc                    V ^8  d   QhRRRR/# )r1   rB   r3   r4   rD   r6   )r7   s   "r8   r9   r|      s    11s1*1r:   c               	    R # r~   r6   )r   rB   s   ""r8   getHeaders.get   s    .1r:   c               $    V ^8  d   QhRRRRRR/# )r1   rB   r3   defaultr/   r4   zstr | _Tr6   )r7   s   "r8   r9   r|      s    99s9R9H9r:   c                	    R # r~   r6   r   rB   r   s   &&&r8   r   r      s    69r:   c               $    V ^8  d   QhRRRRRR/# )r1   rB   r3   r   z	_T | Noner4   zstr | _T | Noner6   )r7   s   "r8   r9   r|      s!      s Y / r:   c                :     W,          #   \          d    Tu # i ; i)zp
Return a header value. If multiple occurrences of the header occur
then concatenate them together with commas.
)KeyErrorr   s   &&&r8   r   r      s#    
	9 	N	s   
 c               $    V ^8  d   QhRRRRRR/# )r1   rB   r3   split_commasr5   r4   z	list[str]r6   )r7   s   "r8   r9   r|     s!      C t 	 r:   c                   VP                  4       P                  V P                  4      pV P                   UUUu. uF8  w  rEpVP                  4       V8X  g   K  VP	                  V P                  4      NK:  	  ppppV'       g   V# . pV F@  p	TP                  V	P                  R4       U
u. uF  qP                  4       NK  	  up
4       KB  	  V# u upppi u up
i )z
Return a list of all header values for a given key.
If `split_commas=True` is passed, then any comma separated header
values are split into multiple return strings.
,)rr   rI   r2   r   r   extendrd   rb   )r   rB   r   get_header_keyr   item_key
item_valuer   split_valuesrL   items   &&&        r8   get_listHeaders.get_list  s     ++DMM: ,0::
+5'Z~~>1 -Jdmm,+5 	 
 M"$E%++c:J K:J$:J KL 
 !Ls   CC+C
c                    V ^8  d   QhRRRR/# )r1   ry   rz   r4   r{   r6   )r7   s   "r8   r9   r|     s     ) )0 )D )r:   c                	    \        V4      pVP                  4        F  pW 9   g   K  V P                  V4       K  	  V P                  P	                  VP                  4       R # r~   )r+   r   popr   r   )r   ry   rB   s   && r8   updateHeaders.update  sD    '"<<>C{ " 	

'--(r:   c                   V ^8  d   QhRR/# )r1   r4   r+   r6   )r7   s   "r8   r9   r|     s     5 5g 5r:   c                	.    \        W P                  R 7      # )r?   )r+   r2   r   s   &r8   copyHeaders.copy  s    tmm44r:   c                    V ^8  d   QhRRRR/# r1   otherzMapping[str, str]r4   r+   r6   )r7   s   "r8   r9   r|   !  s      - ' r:   c                	    \        V\        4      '       g   \        # V P                  4       pVP	                  V4       V# r~   )rH   r   NotImplementedr   r   r   r   mergeds   && r8   __or__Headers.__or__!  s1    %))!!er:   c                    V ^8  d   QhRRRR/# r   r6   )r7   s   "r8   r9   r|   (  s      . 7 r:   c                	v    \        V\        4      '       g   \        # \        V4      pVP	                  V 4       V# r~   )rH   r   r   r+   r   r   s   && r8   __ror__Headers.__ror__(  s/    %))!!dr:   c                    V ^8  d   QhRRRR/# )r1   r   r   r4   r+   r6   )r7   s   "r8   r9   r|   /  s      [ W r:   c                	(    V P                  V4       V # r~   )r   )r   r   s   &&r8   __ior__Headers.__ior__/  s    Er:   c                    V ^8  d   QhRRRR/# )r1   rB   r3   r4   r6   )r7   s   "r8   r9   r|   3  s      s s r:   c                0   VP                  4       P                  V P                  4      pV P                   UUUu. uF)  w  r4pWB8X  g   K  VP	                  V P                  4      NK+  	  ppppV'       d   RP                  V4      # \        V4      hu upppi )z
Return a single header value.

If there are multiple headers with the same key, then we concatenate
them with commas. See: https://tools.ietf.org/html/rfc7230#section-3.2.2
r   )rr   rI   r2   r   r   joinr   )r   rB   normalized_keyr   
header_keyheader_valuero   s   &&     r8   __getitem__Headers.__getitem__3  s     ++DMM: 04zz
/9+|+ /L./9 	 
 99U##sm
s   B
Bc               $    V ^8  d   QhRRRRRR/# )r1   rB   r3   rL   r4   r{   r6   )r7   s   "r8   r9   r|   G  s&     @ @s @3 @4 @r:   c                   TP                  V P                  ;'       g    R4      pTP                  V P                  ;'       g    R4      pVP                  4       p\        V P                  4       UUUu. uF  w  pw  rxqxV8X  g   K  VNK  	  p	ppp\        V	R,          4       F  pV P                  V K  	  V	'       d   V	^ ,          pW5V3V P                  V&   R# V P                  P                  W5V34       R# u upppi )z[
Set the header `key` to `value`, removing any duplicate entries.
Retains insertion order.
r   :   NNN)rI   r   rr   	enumerater   reversedrf   )
r   rB   rL   set_key	set_value
lookup_keyidxr   r   found_indexess
   &&&       r8   __setitem__Headers.__setitem__G  s    
 **T^^66w7LL!:!:7;	]]_
:CDJJ:Oj:O!6&6qA_iSi:OjM"-.C

3 / "C&I>DJJsOJJwI>? ks   4C:C:c                    V ^8  d   QhRRRR/# )r1   rB   r3   r4   r{   r6   )r7   s   "r8   r9   r|   [  s        s  t  r:   c                R   VP                  4       P                  V P                  4      p\        V P                  4       UUUu. uF!  w  pw  rEqEP                  4       V8X  g   K  VNK#  	  ppppV'       g   \        V4      h\        V4       F  pV P                  V K  	  R# u upppi )z
Remove the header `key`.
N)rr   rI   r2   r   r   r   r   )r   rB   del_keyr   r   r   pop_indexess   &&     r8   __delitem__Headers.__delitem__[  s     ))+$$T]]38A$**8Mm8M4s$4Q!Q_Q_QaelQlss8Mm3-K(C

3 ) ns   B"$B"c                    V ^8  d   QhRRRR/# )r1   rB   
typing.Anyr4   r5   r6   )r7   s   "r8   r9   r|   i  s     ? ?
 ?t ?r:   c                	    VP                  4       P                  V P                  4      pY P                   UUu. uF  w  r1q1NK	  	  upp9   # u uppi r~   )rr   rI   r2   r   )r   rB   r   r   s   &&  r8   __contains__Headers.__contains__i  s?    YY[''6
::>:iaac:>>>>s   Ac                   V ^8  d   QhRR/# )r1   r4   ztyping.Iterator[typing.Any]r6   )r7   s   "r8   r9   r|   m  s     ! !5 !r:   c                	4    \        V P                  4       4      # r~   )iterr   r   s   &r8   __iter__Headers.__iter__m  s    DIIK  r:   c                   V ^8  d   QhRR/# r1   r4   intr6   )r7   s   "r8   r9   r|   p  s       r:   c                	,    \        V P                  4      # r~   )lenr   r   s   &r8   __len__Headers.__len__p  s    4::r:   c                    V ^8  d   QhRRRR/# )r1   r   r   r4   r5   r6   )r7   s   "r8   r9   r|   s  s     7 7J 74 7r:   c                	    \        V4      pT P                   UUUu. uF	  w  r4qTT3NK  	  ppppTP                   UUUu. uF	  w  r4qTT3NK  	  pppp\        T4      \        T4      8H  #   \         d     R # i ; iu upppi u upppi F)r+   re   r   sorted)r   r   other_headersr   rB   rL   	self_list
other_lists   &&      r8   __eq__Headers.__eq__s  s    	#ENM 8<zzBzmae5\z	B8E8K8KL8K}quEl8K
Li F:$666  		 CLs   A* A< B*A98A9c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r|   }  s     : :# :r:   c                	8   V P                   P                  pR pV P                  R8w  d   RV P                  : 2p\        \	        V P                  4       4      4      p\        V4      p\        V4      \        V4      8H  pV'       d   V RV: V R2# V RV: V R2# )r_   rG   z, encoding=())	__class____name__r2   r   rv   r   dictr  )r   
class_nameencoding_stras_listas_dictno_duplicate_keyss   &     r8   __repr__Headers.__repr__}  s    ^^,,
==G#((9:L3D4D4D4FGHw-LCL8 \7+l^1==Qwk,q99r:   )r   r   NNr~   r  ) r  
__module____qualname____firstlineno____doc__r   propertyr2   setterr   r   r   ro   r   typingoverloadr   r   r   r   r   r   r   r   r   r   r   r  r  r  r  __static_attributes__r6   r:   r8   r+   r+      s    ",  0 __  F FY	$#j __1 1__9 9,)5(@( ?!7: :r:   c                      ] tR tRtRRRRRRRRRRRRR	RR
RRR/	R R lltR R lt]R R l4       tR R ltR R lt	R R lt
R R ltR R ltRtR# )r,   i  rj   Nry   cookiescontentdatafilesjsonstream
extensionsc               H    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRR/# )r1   methodr3   r`   z	URL | strrj   zQueryParamTypes | Nonery   rz   r,  CookieTypes | Noner-  zRequestContent | Noner.  zRequestData | Noner/  zRequestFiles | Noner0  ztyping.Any | Noner1  'SyncByteStream | AsyncByteStream | Noner2  zRequestExtensions | Noner4   r{   r6   )r7   s   "r8   r9   Request.__annotate__  s     6! 6!6! 6!
 '6! $6! $6! '6! !6! #6!  6! 86! -6! 
6!r:   c       	        	^   VP                  4       V n        Vf   \        V4      M\        W#R7      V n        \	        V4      V n        Vf   / M
\        V4      V n        V'       d   \        V4      P                  V 4       V
f   V P
                  P                  R4      p\        TTTT	\        V'       d&   VP                  V P
                  P                  4      MR R7      R7      w  rJV P                  V4       Wn        \#        V
\$        4      '       d   V P'                  4        R # R # Wn        R # )N)rj   rT   )rR   )r-  r.  r/  r0  boundary)upperr4  r'   r`   r+   ry   r  r2  r*   set_cookie_headerr   r
   r   rI   r2   _preparer1  rH   r   read)r   r4  r`   rj   ry   r,  r-  r.  r/  r0  r1  r2  rR   s   &&&$$$$$$$$$ r8   r   Request.__init__  s     lln%~3s83s3Jw' * 2"Z8HG..t4>'+||'7'7'GL,AO[!4!4T\\5J5J!KaeOG MM'" K&*--		 ." !Kr:   c                    V ^8  d   QhRRRR/# r1   default_headerszdict[str, str]r4   r{   r6   )r7   s   "r8   r9   r7    s     @ @ @4 @r:   c                	   VP                  4        Fp  w  r#VP                  4       R 8X  d   RV P                  9   d   K-  VP                  4       R8X  d   RV P                  9   d   KU  V P                  P                  W#4       Kr  	  . pRV P                  9   pRV P                  9   ;'       g    RV P                  9   pV'       gD   V P                  P
                  '       d(   VP                  RV P                  P                  34       V'       g#   V P                  R9   d   VP                  R4       \        W@P                  P                  ,           4      V n        R# )	content-lengthzTransfer-Encodingtransfer-encodingzContent-LengthHosts   HostN)POSTPUTPATCHQUERY)s   Content-Length   0)ro   rr   ry   
setdefaultr`   hostrf   netlocr4  r+   r   )r   rA  rB   rL   auto_headershas_hosthas_content_lengths   &&     r8   r<  Request._prepare  s    )//1JCyy{..3F$,,3Vyy{116F$,,6VLL##C/ 2 35T\\)-=ddATX\XdXdAdDHHMMM$((// :;!dkk5V&V 9:|ll.>.>>?r:   c                   V ^8  d   QhRR/# r1   r4   rE   r6   )r7   s   "r8   r9   r7           r:   c                	R    \        V R 4      '       g   \        4       hV P                  # _content)hasattrr   rW  r   s   &r8   r-  Request.content  s"    tZ(( ""}}r:   c                   V ^8  d   QhRR/# rS  r6   )r7   s   "r8   r9   r7    s      e r:   c                J   \        V R4      '       g   \        V P                  \        P                  4      '       g   Q hRP                  V P                  4      V n        \        V P                  \        4      '       g   \        V P                  4      V n        V P                  # )&
Read and return the request content.
rW  r:   )rX  rH   r1  r(  Iterabler   rW  r   r   s   &r8   r=  Request.read  sm     tZ((dkk6??;;;;HHT[[1DMdkk:66 )7}}r:   c                   V ^8  d   QhRR/# rS  r6   )r7   s   "r8   r9   r7    s      U r:   c                  "   \        V R4      '       gT   \        V P                  \        P                  4      '       g   Q hRP                  V P                   Uu. u Rj  xL
 qNK  V P                  #  LDMu upi up4      T n        \        T P                  \        4      '       d   KC  \        T P                  4      T n        L^5i)r\  rW  r:   N)rX  rH   r1  r(  AsyncIterabler   rW  r   )r   parts   & r8   areadRequest.aread  s      tZ((dkk6+?+?@@@@HHT[[%I%ITd }} &J%IJDMdkk:66 )7sB   ACA8A6
 A4!A6
$A8(C4A6
6A871C+Cc                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r7    s     ; ;# ;r:   c                	    V P                   P                  p\        V P                  4      pR V RV P                  : RV: R2# )<r  r   z)>)r  r  r3   r`   r4  )r   r  r`   s   &  r8   r  Request.__repr__  s=    ^^,,
$((m:,abr::r:   c                   V ^8  d   QhRR/# r1   r4   dict[str, typing.Any]r6   )r7   s   "r8   r9   r7    s     n n3 nr:   c                	|    V P                   P                  4        UUu/ uF  w  rVR9  g   K  WbK  	  upp# u uppi )r2  )r2  r1  __dict__ro   r   namerL   s   &  r8   __getstate__Request.__getstate__  s7    /3}}/B/B/Dm/DTlHl/Dmmm   88c                    V ^8  d   QhRRRR/# r1   staterk  r4   r{   r6   )r7   s   "r8   r9   r7    s     ) )"7 )D )r:   c                	|    VP                  4        F  w  r#\        WV4       K  	  / V n        \        4       V n        R # r~   )ro   setattrr2  r	   r1  r   rv  rp  rL   s   &&  r8   __setstate__Request.__setstate__  s/     ;;=KDD& )&(r:   )rW  r2  ry   r4  r1  r`   )r  r"  r#  r$  r   r<  r&  r-  r=  rc  r  rq  rz  r*  r6   r:   r8   r,   r,     s    6!
 *.6! '+6! '+6! *.6! $(6! &*6! #'6! ;?6! 046!p@,  
;
n) )r:   c                  j   ] tR tRtRRRRRRRRRRRRR	RR
RRRRR/
R R lltR R lt]R R l4       t]P                  R R l4       t]R R l4       t	]	P                  R R l4       t	]R R l4       t
]R R l4       t]R R l4       t]R  R! l4       t]R" R# l4       t]R$ R% l4       t]P                  R& R' l4       t]R( R) l4       tR* R+ lt]R, R- l4       t]R. R/ l4       t]R0 R1 l4       t]R2 R3 l4       t]R4 R5 l4       t]R6 R7 l4       t]R8 R9 l4       tR: R; ltR< R= lt]R> R? l4       t]R@ RA l4       t]RB RC l4       tRD RE ltRF RG ltRH RI lt RJ RK lt!RcRL RM llt"RcRN RO llt#RP RQ lt$RcRR RS llt%RT RU lt&RV RW lt'RcRX RY llt(RcRZ R[ llt)R\ R] lt*RcR^ R_ llt+R` Ra lt,Rbt-R# )dr-   i  ry   Nr-  texthtmlr0  r1  requestr2  historydefault_encodingr   c               H    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRRRRRR/# )r1   status_coder  ry   rz   r-  zResponseContent | Noner}  rD   r~  r0  r   r1  r6  r  zRequest | Noner2  zResponseExtensions | Noner  zlist[Response] | Noner  z*str | typing.Callable[[bytes], str | None]r4   r{   r6   )r7   s   "r8   r9   Response.__annotate__  s     5' 5'5' $	5'
 (5' 5' 5' 5' 85'  5' .5' '5' E5' 
5'r:   c       
        	   Wn         \        V4      V n        Wn        R V n        V	f   / M
\        V	4      V n        V
f   . M
\        V
4      V n        RV n	        RV n
        Wn        VfM   \        W4WV4      w  r'V P                  V4       Wpn        \        V\         4      '       d   V P#                  4        MWpn        ^ V n        R # )NF)r  r+   ry   _requestnext_requestr  r2  r   r  	is_closedis_stream_consumedr  r   r<  r1  rH   r   r=  _num_bytes_downloaded)r   r  ry   r-  r}  r~  r0  r1  r  r2  r  r  s   &&$$$$$$$$$$r8   r   Response.__init__  s     'w'(/ -1 * 2"Z8H$_r$w-"' 0>-gTHOGMM'" K&*--		 !K%&"r:   c                    V ^8  d   QhRRRR/# r@  r6   )r7   s   "r8   r9   r  E  s     0 0 04 0r:   c                	    VP                  4        FH  w  r#VP                  4       R 8X  d   RV P                  9   d   K-  V P                  P                  W#4       KJ  	  R# )rD  rC  N)ro   rr   ry   rK  )r   rA  rB   rL   s   &&  r8   r<  Response._prepareE  sG    )//1JCyy{116F$,,6VLL##C/	 2r:   c                   V ^8  d   QhRR/# )r1   r4   datetime.timedeltar6   )r7   s   "r8   r9   r  M  s     
 
+ 
r:   c                    \        V R4      '       g)   \        V P                  RR4      pVe   V# \        R4      hV P                  # )zM
Returns the time taken for the complete request/response
cycle to complete.
_elapsedelapsedNzK'.elapsed' may only be accessed after the response has been read or closed.)rX  getattrr1  RuntimeErrorr  )r   stream_elapseds   & r8   r  Response.elapsedL  sF     tZ((8?YX\8]N)%%lmm}}r:   c                    V ^8  d   QhRRRR/# )r1   r  r  r4   r{   r6   )r7   s   "r8   r9   r  Z  s        1  d  r:   c                	    Wn         R # r~   )r  )r   r  s   &&r8   r  r  Y  s    r:   c                   V ^8  d   QhRR/# )r1   r4   r,   r6   )r7   s   "r8   r9   r  ^  s       r:   c                L    V P                   f   \        R4      hV P                   # )zB
Returns the request instance associated to the current response.
z7The request instance has not been set on this response.)r  r  r   s   &r8   r  Response.request]  s$    
 == XYY}}r:   c                    V ^8  d   QhRRRR/# )r1   rL   r,   r4   r{   r6   )r7   s   "r8   r9   r  g  s      W  r:   c                	    Wn         R # r~   )r  r   s   &&r8   r  r  f  s    r:   c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r  k  s     A Ac Ar:   c                	t     V P                   R ,          pVP                  RRR7      #   \         d     R# i ; i)http_versionrG   ignoreerrorszHTTP/1.1)r2  r   r   )r   r  s   & r8   r  Response.http_versionj  sB    	A"&//."AL  &&wx&@@  		s   ( 77c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r  t  s     B Bs Br:   c                	     V P                   R ,          pVP                  RRR7      #   \         d$    \        P                  ! T P
                  4      u # i ; i)reason_phraserG   r  r  )r2  r   r   r   get_reason_phraser  )r   r  s   & r8   r  Response.reason_phrases  sV    	B#'???#CM !'''AA  	=**4+;+;<<	=s   ( +AAc                   V ^8  d   QhRR/# )r1   r4   r'   r6   )r7   s   "r8   r9   r  }  s        S  r:   c                .    V P                   P                  # )z1
Returns the URL for which the request was made.
)r  r`   r   s   &r8   r`   Response.url|  s    
 ||r:   c                   V ^8  d   QhRR/# rS  r6   )r7   s   "r8   r9   r    rT  r:   c                	R    \        V R 4      '       g   \        4       hV P                  # rV  )rX  r   rW  r   s   &r8   r-  Response.content  s"    tZ((!##}}r:   c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r    s      c r:   c                	J   \        V R 4      '       g   V P                  pV'       g   RV n        V P                  # \        V P                  ;'       g    RR7      pRP                  VP                  V P                  4      VP                  4       .4      V n        V P                  # )_textr_   r   r?   )rX  r-  r  r   r2   r   r   flush)r   r-  decoders   &  r8   r}  Response.text  sx    tW%%llG
 zz &t}}/G/GHWWgnnT\\&BGMMO%TU
zzr:   c                   V ^8  d   QhRR/# r1   r4   rD   r6   )r7   s   "r8   r9   r    s      * r:   c                V   \        V R4      '       g   V P                  pVe   \        V4      '       g[   \        V P                  \
        4      '       d   V P                  pM-\        V R4      '       d   V P	                  V P                  4      pT;'       g    RV n        V P                  # )a  
Return an encoding to use for decoding the byte content into text.
The priority for determining this is given by...

* `.encoding = <>` has been set explicitly.
* The encoding as specified by the charset parameter in the Content-Type header.
* The encoding as determined by `default_encoding`, which may either be
  a string like "utf-8" indicating the encoding to use, or may be a callable
  which enables charset autodetection.
r   rW  r   )rX  charset_encodingr@   rH   r  r3   rW  r   )r   r2   s   & r8   r2   Response.encoding  s     t[)),,H'9('C'Cd33S99#44HT:..#44T]]CH%00DN~~r:   c                    V ^8  d   QhRRRR/# r   r6   )r7   s   "r8   r9   r    s     	 	c 	d 	r:   c                L    \        V R4      '       d   \        R4      hWn        R# )z
Set the encoding to use for decoding the byte content into text.

If the `text` attribute has been accessed, attempting to set the
encoding will throw a ValueError.
r  z?Setting encoding after `text` has been accessed is not allowed.N)rX  re   r   r   s   &&r8   r2   r    s"     4!!^__r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    s     9 9* 9r:   c                Z    V P                   P                  R4      pVf   R# \        V4      # )z?
Return the encoding, as specified by the Content-Type header.
zContent-TypeN)ry   r   r[   )r   rR   s   & r8   r  Response.charset_encoding  s,    
 ||''7*<88r:   c                   V ^8  d   QhRR/# )r1   r4   r   r6   )r7   s   "r8   r9   r    s      n r:   c                   \        V R4      '       g   V P                  P                  RRR7      pV Uu. uF   q"P                  4       P	                  4       NK"  	  pp\        V Uu. uF  qDR8w  g   K  VNK  	  up4      p\        VP                  4      ^8X  d%   VP                  ^ ,          V n        V P                  # VP                  '       d   WPn        V P                  # \        4       V n        V P                  # u upi u upi )z
Returns a decoder instance which can be used to decode the raw byte
content, depending on the Content-Encoding used in the response.
_decoderzcontent-encodingT)r   identity)
rX  ry   r   rb   rr   r   r  childrenr  r   )r   r   rL   	encodingsr2   r  s   &     r8   _get_content_decoderResponse._get_content_decoder  s    
 tZ((\\**+=D*QF<BCF5,,.FIC"Y#aYV`J`HHY#abG7##$) ' 0 0 3 }} !!! ' }} !0 1}} D#as   &C<%D2Dc                   V ^8  d   QhRR/# r1   r4   r5   r6   )r7   s   "r8   r9   r    s     8 8$ 8r:   c                B    \         P                  ! V P                  4      # )zE
A property which is `True` for 1xx status codes, `False` otherwise.
)r   is_informationalr  r   s   &r8   r  Response.is_informational  s    
 %%d&6&677r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    s     2 2D 2r:   c                B    \         P                  ! V P                  4      # )zE
A property which is `True` for 2xx status codes, `False` otherwise.
)r   
is_successr  r   s   &r8   r  Response.is_success  s    
  0 011r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    s     	3 	3T 	3r:   c                B    \         P                  ! V P                  4      # )z
A property which is `True` for 3xx status codes, `False` otherwise.

Note that not all responses with a 3xx status code indicate a URL redirect.

Use `response.has_redirect_location` to determine responses with a properly
formed URL redirection.
)r   is_redirectr  r   s   &r8   r  Response.is_redirect  s       !1!122r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r         7 7 7r:   c                B    \         P                  ! V P                  4      # )zE
A property which is `True` for 4xx status codes, `False` otherwise.
)r   is_client_errorr  r   s   &r8   r  Response.is_client_error      
 $$T%5%566r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    r  r:   c                B    \         P                  ! V P                  4      # )zE
A property which is `True` for 5xx status codes, `False` otherwise.
)r   is_server_errorr  r   s   &r8   r  Response.is_server_error  r  r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    s     0 0$ 0r:   c                B    \         P                  ! V P                  4      # )zM
A property which is `True` for 4xx and 5xx status codes, `False` otherwise.
)r   is_errorr  r   s   &r8   r  Response.is_error  s    
 ~~d..//r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r    s     
 
t 
r:   c                    V P                   \        P                  \        P                  \        P                  \        P
                  \        P                  39   ;'       d    RV P                  9   # )z[
Returns True for 3xx responses with a properly formed URL redirection,
`False` otherwise.
Location)r  r   MOVED_PERMANENTLYFOUND	SEE_OTHERTEMPORARY_REDIRECTPERMANENT_REDIRECTry   r   s   &r8   has_redirect_locationResponse.has_redirect_location  s_      ''(((( + + dll*	
r:   c                   V ^8  d   QhRR/# )r1   r4   r-   r6   )r7   s   "r8   r9   r    s     "G "G( "Gr:   c                *   V P                   pVf   \        R4      hV P                  '       d   V # V P                  '       d   RpMRpV P                  ^d,          p^R^R^R^R/pVP                  VR4      pVP                  WR	7      p\        W!V R
7      h)z.
Raise the `HTTPStatusError` if one occurred.
zYCannot call `raise_for_status` as the request instance has not been set on this response.z{error_type} '{0.status_code} {0.reason_phrase}' for url '{0.url}'
Redirect location: '{0.headers[location]}'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/{0.status_code}z{error_type} '{0.status_code} {0.reason_phrase}' for url '{0.url}'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/{0.status_code}zInformational responsezRedirect responsezClient errorzServer errorzInvalid status code)
error_type)r  response)r  r  r  r  r  r   r7   r   )r   r  rW   status_classerror_typesr  s   &     r8   raise_for_statusResponse.raise_for_status  s     --?k  ???K%%%w w 
 ''3.'"~~	
 !__\3HI
...=gFFr:   c                    V ^8  d   QhRRRR/# )r1   kwargsr   r4   r6   )r7   s   "r8   r9   r  =  s     5 5Z 5J 5r:   c                	D    \         P                  ! V P                  3/ VB # r~   )jsonlibloadsr-  )r   r  s   &,r8   r0  Response.json=  s    }}T\\4V44r:   c                   V ^8  d   QhRR/# )r1   r4   r*   r6   )r7   s   "r8   r9   r  A  s       r:   c                	    \        V R 4      '       g+   \        4       V n        V P                  P                  V 4       V P                  # )_cookies)rX  r*   r  extract_cookiesr   s   &r8   r,  Response.cookies@  s4    tZ((#IDMMM))$/}}r:   c                   V ^8  d   QhRR/# )r1   r4   z dict[str | None, dict[str, str]]r6   )r7   s   "r8   r9   r  H  s     d d7 dr:   c                    V P                   P                  R4      pVf   / # \        V4       Uu/ uF-  q"P                  R4      ;'       g    VP                  R4      VbK/  	  up# u upi )z9
Returns the parsed header links of the response, if any
rk   relr`   )ry   r   rm   )r   headerrk   s   &  r8   rg   Response.linksG  s]    
 !!&)>IGZ[aGbcGbt%33DHHUOd:Gbcccs   A%A%c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   r  S  s     * *c *r:   c                	    V P                   # r~   )r  r   s   &r8   num_bytes_downloadedResponse.num_bytes_downloadedR  s    )))r:   c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   r  V  s     G G# Gr:   c                	<    R V P                    RV P                   R2# )z<Response [ ]>)r  r  r   s   &r8   r  Response.__repr__V  s%    T--.a0B0B/C2FFr:   c                   V ^8  d   QhRR/# rj  r6   )r7   s   "r8   r9   r  Y  s     
 
3 
r:   c                	|    V P                   P                  4        UUu/ uF  w  rVR9  g   K  WbK  	  upp# u uppi )r2  )r2  r1  r  r  rm  ro  s   &  r8   rq  Response.__getstate__Y  sE      $}}224
4LL DK4
 	
 
rs  c                    V ^8  d   QhRRRR/# ru  r6   )r7   s   "r8   r9   r  `  s     ) )"7 )D )r:   c                	    VP                  4        F  w  r#\        WV4       K  	  R V n        / V n        \	        4       V n        R# )TN)ro   rx  r  r2  r	   r1  ry  s   &&  r8   rz  Response.__setstate__`  s6     ;;=KDD& )&(r:   c                   V ^8  d   QhRR/# rS  r6   )r7   s   "r8   r9   r  g  s      e r:   c                    \        V R4      '       g%   RP                  V P                  4       4      V n        V P                  # )'
Read and return the response content.
rW  r:   )rX  r   
iter_bytesrW  r   s   &r8   r=  Response.readg  s2     tZ((HHT__%67DM}}r:   c                    V ^8  d   QhRRRR/# r1   
chunk_size
int | Noner4   ztyping.Iterator[bytes]r6   )r7   s   "r8   r9   r  o  s        Z  ;Q  r:   c              #    "   \        V R4      '       df   Vf   \        V P                  4      MTp\        ^ \        V P                  4      \	        V^4      4       F  pV P                  W"V,            x  K  	  R# V P                  4       p\        VR7      p\        V P                  R7      ;_uu_ 4        V P                  4        F7  pVP                  V4       F  pVP                  V4       F  pVx  K	  	  K!  	  K9  	  VP                  4        F  pVP                  V4       F  pVx  K	  	  K!  	  VP                  4        F  pVx  K	  	  RRR4       R#   + '       g   i     R# ; i5iz
A byte-iterator over the decoded response content.
This allows us to handle gzip, deflate, brotli, and zstd encoded responses.
rW  Nr  r  )rX  r  rW  rangemaxr  r   r   r  iter_rawr   r  )r   r  ir  chunker	raw_bytesdecodedchunks   &&      r8   r  Response.iter_byteso  s    
 4$$/9/AT]]+zJ1c$--0#j!2DEmmAJ77 F //1G!Z8G 77!%I#*>>)#<%,^^G%<E"'K &= $= "1  '}}G!(!8# "9  / %]]_EK - 8777s   B2E,4BE
E,E)	#	E,c                    V ^8  d   QhRRRR/# )r1   r  r  r4   typing.Iterator[str]r6   )r7   s   "r8   r9   r    s      J :N r:   c              #    "   \        V P                  ;'       g    RR7      p\        VR7      p\        V P                  R7      ;_uu_ 4        V P                  4        F0  pVP                  V4      pVP                  V4       F  pVx  K	  	  K2  	  VP                  4       pVP                  V4       F  pVx  K	  	  VP                  4        F  pVx  K	  	  RRR4       R#   + '       g   i     R# ; i5iz
A str-iterator over the decoded response content
that handles both gzip, deflate, etc but also detects the content's
string encoding.
r   r?   r   r!  N)r   r2   r   r   r  r  r   r  r   r  r  r&  byte_contenttext_contentr)  s   &&     r8   	iter_textResponse.iter_text  s      t}}'?'?@4T]]33 $ 1&~~l;$^^L9EK : !2 #==?L 5 6  ) 4333s   AC7BC#
C7#C4	.	C7c                   V ^8  d   QhRR/# r1   r4   r,  r6   )r7   s   "r8   r9   r    s      0 r:   c              #  	4  "   \        4       p\        V P                  R 7      ;_uu_ 4        V P                  4        F  pVP	                  V4       F  pVx  K	  	  K!  	  VP                  4        F  pVx  K	  	  RRR4       R#   + '       g   i     R# ; i5ir!  N)r   r   r  r2  r   r  r   r  r}  lines   &   r8   
iter_linesResponse.iter_lines  si     -T]]33(#NN40DJ 1 )  
 (	 4333s   )BAB:
BB		Bc                    V ^8  d   QhRRRR/# r  r6   )r7   s   "r8   r9   r    s      : 9O r:   c              #    "   V P                   '       d   \        4       hV P                  '       d   \        4       h\	        V P
                  \        4      '       g   \        R4      hRV n         ^ V n        \        VR7      p \        V P                  R7      ;_uu_ 4        V P
                   FA  pV ;P                  \        V4      ,          un        VP                  V4       F  pVx  K	  	  KC  	  RRR4       VP                  4        F  pVx  K	  	  V P                  4        R#   + '       g   i     L=; i  T P                  4        i ; i5i)0
A byte-iterator over the raw response content.
z5Attempted to call a sync iterator on an async stream.Tr   r!  N)r  r   r  r   rH   r1  r&   r  r  r   r   r  r  r   r  close)r   r  r&  raw_stream_bytesr)  s   &&   r8   r$  Response.iter_raw  s      """ "">>>. $++~66VWW"&%&"4
	 77(,$..#6F2GG.!(0@!A# "B )4 8 ! ) JJL 87 JJLs<   .EAED9 AD&1#D9 E&D6	1D9 9EEc                   V ^8  d   QhRR/# r1   r4   r{   r6   )r7   s   "r8   r9   r    s     $ $t $r:   c                <   \        V P                  \        4      '       g   \        R4      hV P                  '       gK   RV n        \        V P                  R7      ;_uu_ 4        V P                  P                  4        RRR4       R# R#   + '       g   i     R# ; i)q
Close the response and release the connection.
Automatically called if the response body is read to completion.
z2Attempted to call a sync close on an async stream.Tr!  N)rH   r1  r&   r  r  r   r  r?  r   s   &r8   r?  Response.close  sg    
 $++~66STT~~~!DN 77!!# 87 777s   #B

B	c                   V ^8  d   QhRR/# rS  r6   )r7   s   "r8   r9   r    s      U r:   c           
       "   \        V R4      '       gS   \        P                  ! V P                  4       4      ;_uu_4       GRj  xL
 pRP	                  V Uu. u Rj  xL
 q"NK  V P
                  #  L- LDMu upi up4      T n        RRR4      GRj  xL 
  T P
                  #   + GRj  xL 
 '       g   i     T P
                  # ; i5i)r  rW  Nr:   )rX  
contextlibaclosingaiter_bytesr   rW  )r   partsrb  s   &  r8   rc  Response.aread  s      tZ((!**4+;+;+=>>>% #)G)G$}} ?)G)G H ?>>}} ?>>}}s~   ACA3C	B'A9A7A5 A7#A9'C5A77A98B'
CBC'C	-B0.
C	9C	;Cc                    V ^8  d   QhRRRR/# r1   r  r  r4   z"typing.AsyncGenerator[bytes, None]r6   )r7   s   "r8   r9   r    s        J  Bd  r:   c           
      "   \        V R4      '       dg   Vf   \        V P                  4      MTp\        ^ \        V P                  4      \	        V^4      4       F  pV P                  W"V,            5x  K  	  R# V P                  4       p\        VR7      p\        V P                  R7      ;_uu_ 4        \        P                  ! V P                  4       4      ;_uu_4       GRj  xL
 pV  Rj  xL
  pVP                  V4       F   pVP                  V4       F  pV5x  K
  	  K"  	  KA   LG L>D?RRR4      GRj  xL 
  M  + GRj  xL 
 '       g   i     M; iTP                  4        F   pTP                  T4       F  pT5x  K
  	  K"  	  TP                  4        F  pT5x  K
  	  RRR4       R#   + '       g   i     R# ; i5ir  )rX  r  rW  r"  r#  r  r   r   r  rI  rJ  	aiter_rawr   r  )	r   r  r%  r  r&  
raw_streamr'  r(  r)  s	   &&       r8   rK  Response.aiter_bytes  sT    
 4$$/9/AT]]+zJ1c$--0#j!2DEmmAJ77 F //1G!Z8G 77%..t~~/?@@@J+5 , ,i'.~~i'@G)0)@&+ *A (A A,: A@@@@@
  '}}G!(!8# "9  / %]]_EK - 8777s   B3G51F;&D.'F;*E	-D2
1D02D2
59E	.F;0D2
2E	3F;>E?F;EE
EEAF;1
G;G		Gc                    V ^8  d   QhRRRR/# )r1   r  r  r4   typing.AsyncIterator[str]r6   )r7   s   "r8   r9   r    s      : AZ r:   c                 "   \        V P                  ;'       g    RR7      p\        VR7      p\        V P                  R7      ;_uu_ 4        V P                  4         Rj  xL
  pVP                  V4      pVP                  V4       F  pV5x  K
  	  K:   L5D6TP                  4       pTP                  T4       F  pT5x  K
  	  TP                  4        F  pT5x  K
  	  RRR4       R#   + '       g   i     R# ; i5ir.  )r   r2   r   r   r  rK  r   r  r/  s   &&     r8   
aiter_textResponse.aiter_text  s      t}}'?'?@4T]]33&*&6&6&8    l&~~l;$^^L9EK : &8 #==?L 5 6  ) 4333sC   ADC.B"B
#B&2C.BA
C.$
D.C?	9	Dc                   V ^8  d   QhRR/# )r1   r4   rU  r6   )r7   s   "r8   r9   r    s      #< r:   c               	H  "   \        4       p\        V P                  R 7      ;_uu_ 4        V P                  4         Rj  xL
  pVP	                  V4       F  pV5x  K
  	  K)   L$D%TP                  4        F  pT5x  K
  	  RRR4       R#   + '       g   i     R# ; i5ir7  )r   r   r  rW  r   r  r8  s   &   r8   aiter_linesResponse.aiter_lines  sv     -T]]33"oo/  d#NN40DJ 1/  
 (	 4333s?   )B"BA' A%
A'!B%A''B
B"B		B"c                    V ^8  d   QhRRRR/# rO  r6   )r7   s   "r8   r9   r    s        *  @b  r:   c                 "   V P                   '       d   \        4       hV P                  '       d   \        4       h\	        V P
                  \        4      '       g   \        R4      hRV n         ^ V n        \        VR7      pV P
                  P                  4       p \        V P                  R7      ;_uu_ 4        V  Rj  xL
  pV ;P                  \        V4      ,          un        VP                  V4       F  pV5x  K
  	  KK   LFDG RRR4       M  + '       g   i     M; iTP                  4        F  pT5x  K
  	  \	        T\         4      '       d   TP#                  4       G Rj  xL 
  T P#                  4       G Rj  xL 
  R#   \	        T\         4      '       d   TP#                  4       G Rj  xL 
  T P#                  4       G Rj  xL 
  i ; i5i)r>  z5Attempted to call an async iterator on a sync stream.Tr   r!  N)r  r   r  r   rH   r1  r   r  r  r   	__aiter__r   r  r  r   r  r   aclose)r   r  r&  r1  r@  r)  s   &&    r8   rQ  Response.aiter_raw  sS     """ "">>>. $++77VWW"&%&"4&&(	  77.4 $ $*..#6F2GG.!(0@!A# "B$f 8777 ! ) &.11mmo%%++- &.11mmo%%++-s   .GA)GF 9D<D	 D
D	ADD		D	F D$	$F )G,E/-GFG*G7F:8GGGGc                   V ^8  d   QhRR/# rC  r6   )r7   s   "r8   r9   r  %  s     + +d +r:   c                X  "   \        V P                  \        4      '       g   \        R4      hV P                  '       gS   RV n        \        V P                  R7      ;_uu_ 4        V P                  P                  4       G Rj  xL
  RRR4       R# R#  L  + '       g   i     R# ; i5i)rE  z2Attempted to call an async close on a sync stream.Tr!  N)rH   r1  r   r  r  r   r  r`  r   s   &r8   r`  Response.aclose%  sv     
 $++77STT~~~!DN 77kk((*** 87  + 877s5   =B* %B*%BBBB*BB'	!	B*)rW  r  r  r  r   r  r  r  r  r2  ry   r  r  r  r  r  r1  r~   ).r  r"  r#  r$  r   r<  r&  r  r'  r  r  r  r`   r-  r}  r2   r  r  r  r  r  r  r  r  r  r  r0  r,  rg   r  r  rq  rz  r=  r  r2  r:  r$  r?  rc  rK  rW  r[  rQ  r`  r*  r6   r:   r8   r-   r-     s   5' '+	5'
 +/5'  5'  5'  5' ;?5' #'5' 155' *.5' HO5'n0 
 
 ^^      ^^  A A B B      
    * __	 	 9 9$ 8 8 2 2 	3 	3 7 7 7 7 0 0 
 
,"GH5   d d * *G
) .&6$ 0& <+ +r:   c                  8   ] tR tRtRtR'R R lltR R ltR R	 ltR(R
 R lltR)R R llt	R*R R llt
R*R R lltR'R R lltR R ltR R ltR R ltR R ltR R ltR R ltR  R! lt ! R" R#]P*                  P,                  4      t ! R$ R%4      tR&tR# )+r*   i3  z%
HTTP Cookies, as a mutable mapping.
Nc                    V ^8  d   QhRRRR/# r1   r,  r5  r4   r{   r6   )r7   s   "r8   r9   Cookies.__annotate__8  s       2 d r:   c                	   Ve   \        V\        4      '       dT   \        4       V n        \        V\        4      '       d-   VP	                  4        F  w  r#V P                  W#4       K  	  R # R # \        V\        4      '       d.   \        4       V n        V F  w  r#V P                  W#4       K  	  R # \        V\        4      '       d@   \        4       V n        VP                   F  pV P                  P                  V4       K   	  R # Wn        R # r~   )	rH   r  r   jarro   setr   r*   
set_cookie)r   r,  rB   rL   cookies   &&   r8   r   Cookies.__init__8  s    ?j$77 {DH'4((")--/JCHHS( #2 ) && {DH%
$ &)) {DH!++##F+ & Hr:   c                    V ^8  d   QhRRRR/# r1   r  r-   r4   r{   r6   )r7   s   "r8   r9   rh  I  s     
B 
B 
BT 
Br:   c                    RVP                   9  d   RVP                   9  d   R# V P                  V4      pV P                  VP                  4      pV P                  P                  W#4       R# )z?
Loads any cookies based on the response `Set-Cookie` headers.
z
set-cookiezset-cookie2N)ry   _CookieCompatResponse_CookieCompatRequestr  rj  r  )r   r  urllib_responseurllib_requests   &&  r8   r  Cookies.extract_cookiesI  sZ     x///MIYIY4Y44X>2283C3CD  Ar:   c                    V ^8  d   QhRRRR/# r1   r  r,   r4   r{   r6   )r7   s   "r8   r9   rh  U  s     3 3 3T 3r:   c                ^    V P                  V4      pV P                  P                  V4       R# )z=
Sets an appropriate 'Cookie:' HTTP header on the `Request`.
N)rs  rj  add_cookie_header)r   r  ru  s   && r8   r;  Cookies.set_cookie_headerU  s&     227;"">2r:   c          
     ,    V ^8  d   QhRRRRRRRRRR/# )r1   rp  r3   rL   domainpathr4   r{   r6   )r7   s   "r8   r9   rh  \  s/     $ $ $C $ $ $t $r:   c                   / R^ bRVbRVbRRbRRbRVbR	\        V4      bR
VP                  R4      bRVbR\        V4      bRRbRRbRRbRRbRRbRRR/bRRbp\        R/ VB pV P                  P	                  V4       R# )zE
Set a cookie value by name. May optionally include domain and path.
versionrp  rL   portNport_specifiedFr}  domain_specifieddomain_initial_dot.r~  path_specifiedsecureexpiresdiscardTcommentcomment_urlrestHttpOnlyrfc2109r6   )r5   
startswithr   rj  rl  )r   rp  rL   r}  r~  r  rm  s   &&&&&  r8   rk  Cookies.set\  s
   
q
D
 U
 D	

 e
 f
 V
 !&"3"3C"8
 D
 d4j
 e
 t
 t
 t
 4
  Z&!
" u#
& !&!F#r:   c          
     ,    V ^8  d   QhRRRRRRRRRR/# )r1   rp  r3   r   rD   r}  r~  r4   r6   )r7   s   "r8   r9   rh  v  s<        	
  
r:   c                    RpV P                    Fd  pVP                  V8X  g   K  Ve   VP                  V8X  g   K-  Ve   VP                  V8X  g   KD  Ve   RV 2p\	        V4      hVP
                  pKf  	  Vf   V# V# )zt
Get a cookie by name. May optionally include domain and path
in order to specify exactly which cookie to retrieve.
Nz!Multiple cookies exist with name=)rj  rp  r}  r~  r   rL   )r   rp  r   r}  r~  rL   rm  rW   s   &&&&&   r8   r   Cookies.getv  sz     hhF{{d">V]]f%<|v{{d': ,(I$&PG"0"99 &  =Nr:   c               (    V ^8  d   QhRRRRRRRR/# )r1   rp  r3   r}  rD   r~  r4   r{   r6   )r7   s   "r8   r9   rh    s8     D DD D 	D
 
Dr:   c                   Ve!   Ve   V P                   P                  W#V4      # V P                    Uu. uFF  pVP                  V8X  g   K  Ve   VP                  V8X  g   K-  Ve   VP                  V8X  g   KD  VNKH  	  ppV F>  pV P                   P                  VP                  VP                  VP                  4       K@  	  R# u upi )zu
Delete a cookie by name. May optionally include domain and path
in order to specify exactly which cookie to delete.
N)rj  clearrp  r}  r~  )r   rp  r}  r~  rm  removes   &&&&  r8   deleteCookies.delete  s     $"288>>&55 ((
"{{d"  6==F#:  !4	 F" 	 
 FHHNN6==&++v{{C 
s   CC"C9Cc               $    V ^8  d   QhRRRRRR/# )r1   r}  rD   r~  r4   r{   r6   )r7   s   "r8   r9   rh    s!      J Z 4 r:   c                    . pVe   VP                  V4       Ve   Vf   Q hVP                  V4       V P                  P                  ! V!   R# )zo
Delete all cookies. Optionally include a domain and path in
order to only delete a subset of all the cookies.
N)rf   rj  r  )r   r}  r~  argss   &&& r8   r  Cookies.clear  sI    
 KK%%%KKr:   c                    V ^8  d   QhRRRR/# rg  r6   )r7   s   "r8   r9   rh    s     ( (0 (D (r:   c                	x    \        V4      pVP                   F  pV P                  P                  V4       K   	  R # r~   )r*   rj  rl  )r   r,  rm  s   && r8   r   Cookies.update  s,    '"kkFHH' "r:   c               $    V ^8  d   QhRRRRRR/# )r1   rp  r3   rL   r4   r{   r6   )r7   s   "r8   r9   rh    s!     % % %C %D %r:   c                	$    V P                  W4      # r~   )rk  ro  s   &&&r8   r   Cookies.__setitem__  s    xx$$r:   c                    V ^8  d   QhRRRR/# )r1   rp  r3   r4   r6   )r7   s   "r8   r9   rh    s        r:   c                	F    V P                  V4      pVf   \        V4      hV# r~   )r   r   ro  s   && r8   r   Cookies.__getitem__  s#    =4. r:   c                    V ^8  d   QhRRRR/# )r1   rp  r3   r4   r{   r6   )r7   s   "r8   r9   rh    s     ! ! ! !r:   c                	$    V P                  V4      # r~   )r  )r   rp  s   &&r8   r   Cookies.__delitem__  s    {{4  r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   rh    s       r:   c                	,    \        V P                  4      # r~   )r  rj  r   s   &r8   r  Cookies.__len__  s    488}r:   c                   V ^8  d   QhRR/# r5  r6   )r7   s   "r8   r9   rh    s     4 4. 4r:   c                	(    R  V P                    4       # )c              3  8   "   T F  qP                   x  K  	  R # 5ir~   )rp  ).0rm  s   & r8   	<genexpr>#Cookies.__iter__.<locals>.<genexpr>  s     3((s   rj  r   s   &r8   r  Cookies.__iter__  s    3$((33r:   c                   V ^8  d   QhRR/# r  r6   )r7   s   "r8   r9   rh    s      $ r:   c                	.    V P                    F  p R # 	  R# )TFr  )r   r   s   & r8   __bool__Cookies.__bool__  s    A r:   c                   V ^8  d   QhRR/# r   r6   )r7   s   "r8   r9   rh    s     , ,# ,r:   c                	    R P                  V P                   Uu. uF-  pRVP                   RVP                   RVP                   R2NK/  	  up4      pRV R2# u upi )r   z<Cookie ra   z for z />z	<Cookies[r  )r   rj  rp  rL   r}  )r   rm  cookies_reprs   &  r8   r  Cookies.__repr__  sc    yyZ^ZbZbcZbPVx}Afll^5sKZbc
 <.++ ds   3Ac                  D   a  ] tR tRtRtR V 3R lltR V 3R lltRtV ;t# )Cookies._CookieCompatRequesti  j
Wraps a `Request` instance up in a compatibility interface suitable
for use with `CookieJar` operations.
c                    V ^8  d   QhRRRR/# rx  r6   )r7   s   "r8   r9   )Cookies._CookieCompatRequest.__annotate__  s     	# 	#G 	# 	#r:   c                	   < \         SV `  \        VP                  4      \	        VP
                  4      VP                  R 7       Wn        R# ))r`   ry   r4  N)superr   r3   r`   r  ry   r4  r  )r   r  r  s   &&r8   r   %Cookies._CookieCompatRequest.__init__  s;    G$W__-~~  
 #Lr:   c               $    V ^8  d   QhRRRRRR/# )r1   rB   r3   ri   r4   r{   r6   )r7   s   "r8   r9   r    s!     	, 	,s 	, 	, 	,r:   c                	V   < \         SV `  W4       W P                  P                  V&   R # r~   )r  add_unredirected_headerr  ry   )r   rB   ri   r  s   &&&r8   r  4Cookies._CookieCompatRequest.add_unredirected_header  s"    G+C5(+LL  %r:   r!  )	r  r"  r#  r$  r%  r   r  r*  __classcell__)r  s   @r8   rs  r    s    	
	# 	#	, 	,r:   rs  c                  2    ] tR tRtRtR R ltR R ltRtR# )	Cookies._CookieCompatResponsei  r  c                    V ^8  d   QhRRRR/# rp  r6   )r7   s   "r8   r9   *Cookies._CookieCompatResponse.__annotate__  s     	% 	%X 	%$ 	%r:   c                	    Wn         R # r~   r  )r   r  s   &&r8   r   &Cookies._CookieCompatResponse.__init__  s    $Mr:   c                   V ^8  d   QhRR/# )r1   r4   zemail.message.Messager6   )r7   s   "r8   r9   r    s     	 	/ 	r:   c                	    \         P                  P                  4       pV P                  P                  P                  4        F	  w  r#W1V&   K  	  V# r~   )rV   rW   rX   r  ry   r   )r   inforB   rL   s   &   r8   r  "Cookies._CookieCompatResponse.info  sD    ==((*D"mm33??A
 "S		 B
 Kr:   r  N)r  r"  r#  r$  r%  r   r  r*  r6   r:   r8   rr  r    s    	
	%	 	r:   rr  r  r~   )r_   /)NNNr!  )r  r"  r#  r$  r%  r   r  r;  rk  r   r  r  r   r   r   r   r  r  r  r  urllibr  r,   rs  rr  r*  r6   r:   r8   r*   r*   3  st    "
B3$42D0(
%!4
,,v~~55 ,$ r:   )r*   r+   r,   r-   r~   )M
__future__r   r<   rI  datetimeemail.messagerV   r0  r  rc   r(  urllib.requestr  collections.abcr   r   http.cookiejarr   r   rW  r   r	   r
   r   	_decodersr   r   r   r   r   r   r   _exceptionsr   r   r   r   r   r   r   
_multipartr   _status_codesr   _typesr   r   r   r   r    r!   r"   r#   r$   r%   r&   _urlsr'   _utilsr(   r)   __all__rs   TypeVarr/   r@   rJ   rP   r[   rm   rv   MutableMappingr3   r+   r,   r-   r*   r6   r:   r8   <module>r     s   "      	   3 , S S     A       +
7$&;< ^^DN-1"J}:f##CH- }:@}) })@c+ c+LFf##CH- Fr:   