+
    TŎi                       a  R. t0 t R 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 ^ RIHt ^ RIHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtH t H!t!H"t" ^ RI#t#^ RI$H%t%H&t&H't'H(t( ^ RI)H*t* ^RI+H,t,H-t-H.t. ^RI/H0t0 ^R	I1H2t2 ^R
I3H4t4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=H>t>H?t?H@t@HAtAHBtBHCtCHDtDHEtEHFtFHGtGHHtHHItIHJtJHKtKHLtLHMtMHNtNHOtOHPtP ^RIQHRtRHStS ^RITHUtUHVtVHWtWHXtXHYtY ^RIZH[t[H\t\H]t] ^RI^H_t_H`t`HataHbtbHctc ^RIdHete ^RIfHgtgHhthHitiHjtjHktkHltlHmtmHntnHotoHptp ^RI-HqtqHrtrHstsHttt ^RIuHvtvHwtwHxtx ^RIyHztzH{t{ ^RI|H}t}H~t~HtHtHt R/t]'       d   ^ RIHt MRt]EP
                  R08  d   ]'       d   ^ RIHt  ! R R] RR7      t]#EP                  ! RRRR7       ! R R4      4       t]! R1^R 7      t] ^ k ]! 0 R2m4      t]!! R!]V]\4      t]]V].]3,          t ! R" R4      t ! R# R$]]]]3,          ]],          4      t]]V,          t]]\,          t ! R% R&4      t]EP
                  R08  d$   ]'       d   R']-EP,                  R(RR)R/R* R+ lltR# R']-EP,                  R(RR)R/R, R- lltR# )3zHTTP Client for asyncio.N)suppress)TracebackType)TYPE_CHECKINGAny	AwaitableCallable	CoroutineFinal	FrozenSet	GeneratorGenericIterableListMappingOptionalSequenceSetTupleType	TypedDictTypeVarUnion)CIMultiDict	MultiDictMultiDictProxyistr)URL)hdrshttppayload)WebSocketDataQueueAbstractCookieJar)ClientConnectionErrorClientConnectionResetErrorClientConnectorCertificateErrorClientConnectorDNSErrorClientConnectorErrorClientConnectorSSLErrorClientErrorClientHttpProxyErrorClientOSErrorClientPayloadErrorClientProxyConnectionErrorClientResponseErrorClientSSLErrorConnectionTimeoutErrorContentTypeError
InvalidURLInvalidUrlClientErrorInvalidUrlRedirectClientErrorNonHttpUrlClientErrorNonHttpUrlRedirectClientErrorRedirectClientErrorServerConnectionErrorServerDisconnectedErrorServerFingerprintMismatchServerTimeoutErrorSocketTimeoutErrorTooManyRedirectsWSMessageTypeErrorWSServerHandshakeError)ClientMiddlewareTypebuild_client_middlewares)ClientRequestClientResponseFingerprintRequestInfo_merge_ssl_params)DEFAULT_WS_CLIENT_TIMEOUTClientWebSocketResponseClientWSTimeout)HTTP_AND_EMPTY_SCHEMA_SETBaseConnectorNamedPipeConnectorTCPConnectorUnixConnector)	CookieJar)
	_SENTINELDEBUGEMPTY_BODY_METHODS	BasicAuthTimeoutHandlebasicauth_from_netrcget_env_proxy_for_urlnetrc_from_envsentinelstrip_auth_from_url)WS_KEYHttpVersionWebSocketReaderWebSocketWriter)WSHandshakeError
ws_ext_genws_ext_parse)TraceTraceConfig)JSONEncoderLooseCookiesLooseHeadersQueryStrOrURLClientSessionClientTimeout)
SSLContext)Unpackc                   ,   a  ] tR t^t o V 3R ltRtV tR# )_RequestOptionsc                  < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[S[R3,          ;R&   S[S[R3,          ;R&   S[S[S[,          R3,          ;R&   S[S[R3,          ;R&   S[;R	&   S[	;R
&   S[S[S[R3,          ;R&   S[S[R3,          ;R&   S[;R&   S[RS[S[
S[.S[R,          3,          3,          ;R&   S[;R&   S[S[R3,          ;R&   S[S[R3,          ;R&   R;R&   S[S[S[S[3,          ;R&   S[S[R3,          ;R&   S[S[R3,          ;R&   S[S[S[S[3,          R3,          ;R&   S[S[	R3,          ;R&   S[S[R3,          ;R&   S[S[	R3,          ;R&   S[S[	R3,          ;R&   S[S[S[,          ,          ;R&   # )   paramsdatajsonNcookiesheadersskip_auto_headersauthallow_redirectsmax_redirectscompresschunked	expect100raise_for_statusread_until_eofproxy
proxy_authz%Union[ClientTimeout, _SENTINEL, None]timeoutsslserver_hostnameproxy_headerstrace_request_ctxread_bufsizeauto_decompressmax_line_sizemax_field_sizemiddlewares)rf   r   r   rd   re   r   strrS   boolintr   rC   r   rg   rj   rD   r   r   r   r@   )format__classdict__s   "]/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/aiohttp/client.py__annotate___RequestOptions.__annotate__   s    M 
I  I  <%&&	 
 <%&&  Xc]D011  	4
        CtO$$  4:  O  D$.1A9T?1R(SSTT    4     io&&! " 54# $ 
z4,	--% & 39%%' ( t+,,) * WS#X.455+ , T	""- . 4:&&/ 0 d##1 2 #t)$$3 4 (#78995      N)__name__
__module____qualname____firstlineno____annotate_func____static_attributes____classdictcell__r   s   @r   rm   rm      s      r   rm   FtotalT)auto_attribsfrozenslotsc                   @   a  ] tR t^t o RtRtRtRt^tV 3R lt	Rt
V tR# )ri   Nc                   < V ^8  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[;R&   # )ro   r   connect	sock_readsock_connectceil_threshold)r   float)r   r   s   "r   r   ClientTimeout.__annotate__   sT     E?!  e_#  %	 
 5/(   r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   ri   ri      s%     !E#G!%I$(LN  r   )r   r   _RetTypec            ;       ,  a a ] tR t^t oRt]! . RO4      tRtRtRRRRRRRRRRRR	RR
RRRR]	P                  R]R]R]R]P                  RRRRRRR]RRR]RRRRRRRRRRRRRRR R! R"RR#]/V3R$ lR% llltV3R& lR' lt]'       d   V3R( lV 3R) llt]3V3R* lR+ llt]P0                  R8  d   ]'       d   V3R, lR- ltM	V3R. lR/ ltV3R0 lR1 ltR2RR3RR4RRRRRR
RRRR5RR6^
R7RR8RR9RRRR:RRRR	RR]R;RR<RR=RR>RR?RR@RRARRRRRRRRRR"R/V3RB lRC lltRD]P<                  RERR]RFRRGRRHRRIRRRRJRR2RRRRRR	RR>RR;RR<RR=RR?RR@RR7^ RKR/V3RL lRM lltRD]P<                  RERR]RFRRGRRHRRIRRRRJRR2RRRRRR	RR>RR;RR<RR=RR?RR@RR7^ RKR/V3RN lRO llt V3RP lRQ lt!V3RR lRS lt"]P0                  R8  dI   ]'       dA   V3RT lRU lt#V3RV lRW lt$V3RX lRY lt%V3RZ lR[ lt&V3R\ lR] lt'V3R^ lR_ lt(V3R` lRa lt)MWR5R/V3Rb lRc llt#R5R/V3Rd lRe llt$R5R/V3Rf lRg llt%R3R/V3Rh lRi llt&R3R/V3Rj lRk llt'R3R/V3Rl lRm llt(V3Rn lRo lt)V3Rp lRq lt*]+V3Rr lRs l4       t,]+V3Rt lRu l4       t-]+V3Rv lRw l4       t.]+V3Rx lRy l4       t/]+V3Rz lR{ l4       t0]0Pb                  V3R| lR} l4       t0]+V3R~ lR l4       t2]+V3R lR l4       t3]+V3R lR l4       t4]+V3R lR l4       t5]+V3R lR l4       t6]+V3R lR l4       t7]+V3R lR l4       t8]+V3R lR l4       t9]+V3R lR l4       t:]+V3R lR l4       t;]+V3R lR l4       t<V3R lR lt=V3R lR lt>V3R lR lt?V3R lR lt@V3R lR ltAV3R ltBRtCVtDV ;tE# )rh   z/First-class interface for making HTTP requests.requote_redirect_urlN	connectorlooprs   rt   r~   r   ru   rv   json_serializerequest_classresponse_classws_response_classversion
cookie_jarconnector_ownerTr|   Fread_timeoutconn_timeoutr   r   	trust_envtrace_configsr   r   i  r   fallback_charset_resolverc                    R # )zutf-8r   )rbs   &&r   <lambda>ClientSession.<lambda>2  s    7r   r   ssl_shutdown_timeoutc          ?        < V ^8  d   QhRS[ S[,          RS[ S[,          RS[ S[P                  ,          RS[ S[,          RS[ S[,          RS[ S[,          RS[ S[,          RS[ S[S[	,          ,          R	S[ S[,          R
S[
RS[S[,          RS[S[,          RS[S[,          RS[RS[ S[,          RS[RS[S[S[S[.S[R,          3,          3,          RS[S[S[3,          RS[ S[,          RS[S[S[3,          RS[RS[RS[RS[ S[S[,          ,          RS[RS[RS[RS[RS[S[,          RS[S[RS[3,          R R/# )!ro   base_urlr   r   rs   rt   r~   r   ru   rv   r   r   r   r   r   r   r   r|   Nr   r   r   r   r   r   r   r   r   r   r   r   r   return)r   rg   rK   asyncioAbstractEventLooprd   re   rS   r   r   rc   r   rB   rC   rH   r[   r"   r   r   r   r   r   rP   objectri   r   rb   r   _CharsetResolverr   r@   )r   r   s   "r   r   ClientSession.__annotate__  s	    \( \(8$\( M*	\(
 w001\( ,'\( ,'\( !\( Y'\( $HSM2\( y!\( $\( M*\( ^,\(   78\(  !\(" ./#\($ %\(&  (N+Yt_<==
'\(, E9,--\(. uo/\(0 v},-1\(2 3\(4 5\(6 #7\(8  [ 129\(: ;\(< =\(> ?\(@ $4A\(B 23C\(D $ItU$:;E\(F 
G\(r   c                  R V n         Vf   Ve   VP                  pT;'       g    \        P                  ! 4       pVe   \	        V\
        4      '       d#   Wn        Vf   R MVP                  4       V n        MR\        V4      V n        V P                  P                  4       V n        V P                  P                  '       g   Q R4       hV P                  e7   V P                  P                  P                  R4      '       g   \        R4      hV\        J g   Vf   \        V n        V\        JdE   \         P"                  ! R\$        ^R7       \&        P(                  ! V P                  VR7      V n        VeE   \&        P(                  ! V P                  VR7      V n        \         P"                  ! R\$        ^R7       MY\	        V\*        4      '       g   \        R	\-        V4       R
24      hVV n        V\        Jd   \        R4      hVe   \        R4      hV\        Jd   \         P"                  ! R\$        ^R7       Vf   \/        VVR7      pVP                  VJd   \1        R4      hW0n        VP3                  4       '       d0   \4        P6                  ! \8        P:                  ! ^4      4      V n        Vf   \?        VR7      pWn         V'       d   V P@                  PC                  V4       W n         VV n"        Wn#        Wn$        Wn%        VV n&        VV n'        VV n(        VV n)        VV n*        VV n+        VV n,        V'       d   \[        V4      pM
\[        4       pVV n.        Ve   \_        R V 4       4      V n0        M\_        4       V n0        Wn1        Wn2        Wn3        T;'       g    . V n4        V Ph                   F  p V Pk                  4        K  	  VV n6        W`n7        Wpn8        RV n9        VV n:        R # )Nz Only absolute URLs are supported/z!base_url must have a trailing '/'z8read_timeout is deprecated, use timeout argument instead
stacklevelr   )r   z8conn_timeout is deprecated, use timeout argument insteadztimeout parameter cannot be of z. type, please use 'timeout=ClientTimeout(...)'zGread_timeout and timeout parameters conflict, please setup timeout.readzJconn_timeout and timeout parameters conflict, please setup timeout.connectzSThe ssl_shutdown_timeout parameter is deprecated and will be removed in aiohttp 4.0)r   r   z0Session and connector has to use same event loopr   c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)r   ).0is   & r   	<genexpr>)ClientSession.__init__.<locals>.<genexpr>  s     /SARAQARs   T);
_connector_loopr   get_running_loop
isinstancer   	_base_urlorigin_base_url_originabsolutepathendswith
ValueErrorrX   DEFAULT_TIMEOUT_timeoutwarningswarnDeprecationWarningattrevolveri   typerM   RuntimeError	get_debug	tracebackextract_stacksys	_getframe_source_tracebackrO   _cookie_jarupdate_cookies_connector_owner_default_auth_version_json_serialize_raise_for_status_auto_decompress
_trust_env_requote_redirect_url_read_bufsize_max_line_size_max_field_sizer   _default_headers	frozenset_skip_auto_headers_request_class_response_class_ws_response_class_trace_configsfreeze_resolve_charset_default_proxy_default_proxy_auth_retry_connection_middlewares)!selfr   r   r   rs   rt   r~   r   ru   rv   r   r   r   r   r   r   r   r|   r   r   r   r   r   r   r   r   r   r   r   r   r   real_headerstrace_configs!   &&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  r   __init__ClientSession.__init__  s_   L 48<$ 11w//1z(C88,4N,4,<D(//BSD! ]DN$(NN$9$9$;D!>>***N,NN*>>%dnn.A.A.J.J3.O.O@AAh'/+DM8+N& 
 !%DMM N' $DMM< PN&  g}55 5d7m_ E> >  $DM8+ # 
 ' &   x/MMe" $0DI ??$&QRR
>>%.%<%<S]]1=M%ND""-J%++G4# /!-!1 /#%9")+- -8-AL&=L2>(&//SAR/S&SD#&/kD#+-"3+11r //L! 0 !:##- '+'r   c                2   < V ^8  d   QhRS[ R,          RR/# )ro   clsrh   r   N)r   )r   r   s   "r   r   r     s      
 
tO4 
 
r   c                r    \         P                  ! R P                  V P                  4      \        ^R7       R# )z6Inheritance class {} from ClientSession is discouragedr   N)r   r   r   r   r   )r  s   &r   __init_subclass__ClientSession.__init_subclass__  s'    #VCLL1		
r   c                *   < V ^8  d   QhRS[ RS[RR/# )ro   namevalr   N)r   r   )r   r   s   "r   r   r     s"     	+ 	+C 	+c 	+d 	+r   c                   < WP                   9  d-   \        P                  ! R P                  V4      \        ^R7       \
        SV `  W4       R# )z8Setting custom ClientSession.{} attribute is discouragedr   N)ATTRSr   r   r   r   super__setattr__)r  r  r  	__class__s   &&&r   r  ClientSession.__setattr__  s<    ::%%%+VD\& 	 G*r   c                $   < V ^8  d   QhRS[ RR/# )ro   	_warningsr   Nr   )r   r   s   "r   r   r     s     	7 	7 	7D 	7r   c                    V P                   '       ga   R V /pVP                  ! RV : 2\        3/ VB  RV RR/pV P                  e   V P                  VR&   V P                  P                  V4       R# R# )sourcezUnclosed client session client_sessionmessagezUnclosed client sessionNsource_traceback)closedr   ResourceWarningr   r   call_exception_handler)r  r  kwargscontexts   &&  r   __del__ClientSession.__del__  sz    {{{%FNN*4(3_HN (y:STG%%1.2.D.D*+JJ--g6 r   c                @   < V ^8  d   QhRS[ RS[RS[S[,          RR/# ro   methodurlr%  r   _RequestContextManager)r   rg   rk   rm   )r   r   s   "r   r   r     s8     	+ 	+	+ 	+ _-		+
 &	+r   c                    R # r   r   r  r+  r,  r%  s   &&&,r   requestClientSession.request  s    
 (+r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# r*  )r   rg   r   )r   r   s   "r   r   r     s3     	P 	P	P$,	P8;	P%	Pr   c                :    \        V P                  ! W3/ VB 4      # )zPerform HTTP request.)r-  _requestr/  s   &&&,r   r0  r1    s     *$--*Nv*NOOr   c                &   < V ^8  d   QhRS[ RS[/# )ro   
str_or_urlr   )rg   r   )r   r   s   "r   r   r     s      X # r   c                    \        V4      pV P                  '       d.   VP                  '       g   V P                  P                  V4      # V# r   )r   r   r   join)r  r6  r,  s   && r   
_build_urlClientSession._build_url  s6    *o>>>#,,,>>&&s++
r   rp   rq   rr   rw   rx   ry   rz   r{   r}   
verify_sslfingerprintssl_contextr   r   r   r   c          @        < V ^8  d   QhRS[ RS[RS[RS[RS[RS[S[,          RS[S[,          RS[S[S[ ,          ,          R	S[S[,          R
S[	RS[
RS[S[ S[	R3,          RS[S[	,          RS[	RS[RS[	S[S[.S[R,          3,          3,          RS[	RS[S[,          RS[S[,          RS[S[S[3,          RS[S[	,          RS[S[,          RS[S[,          RS[S[S[	S[3,          RS[S[ ,          RS[S[,          RS[S[S[ S[3,          ,          RS[S[
,          RS[S[	,          RS[S[
,          RS[S[
,          R S[S[S[,          ,          R!S[/ # )"ro   r+  r6  rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   Nrz   r{   r|   r}   r~   r   r   r;  r<  r=  r   r   r   r   r   r   r   r   r   r   )r   rg   rf   r   r   rd   re   r   rS   r   r   r   r   rC   r   ri   rP   bytesrj   rD   r   r   r@   )r   r   s   "r   r   r     s    @ @@ @
 @ @ @ ,'@ ,'@ $HSM2@ y!@ @ @ T4(@ $@  !@"  $.!19T?!BCC
#@( )@* !+@, Y'-@. }i/0/@0 TN1@2 e_3@4 j)5@6 :t[017@8 "#9@:  -;@< $GCH$56=@> sm?@@ "$A@B  }C@D !E@F h';<=G@H 
I@r   c               4  a aaaaaa=a>a?"   S P                   '       d   \        R 4      h\        VVVV4      pVe   Ve   \        R4      hVe#   \        P
                  ! VS P                  R7      p\        V\        4      '       g    Ve   \        P                  ! R\        4       ^ p . p!S P                  p"T;'       g    / pS P                  V4      p S P                  V4      p#S P                   f   Q hT#P"                  S P                   P$                  9  d   \'        T#4      hTe.   T U%u0 uF  p%\)        T%4      kK  	  up%S P*                  ,          p&M!S P*                  '       d   S P*                  p&MRp&Tf   S P,                  pTf   S P.                  pTf   RpMS P                  T4      p \1        T4      pT\4        J d   S P6                  o=M%\        T\8        4      '       g   \9        TR7      o=MTo=\;        S P<                  S=P>                  S=P@                  R7      p'T'PC                  4       p(Sf   S PD                  oSf   S PF                  oSf   S PH                  oSf   S PJ                  oS PL                   U)u. uF   p)\O        S T)T)PQ                  TR7      4      NK"  	  up)o?S? F-  p*T*PS                  TT#PU                  T4      T4      G Rj  xL
  K/  	  T'PW                  4       o> S>;_uu_ 4        S PX                  ;'       d
    T\Z        9   p+ \]        T#4      w  p#p,T#P^                  '       g   T '       d   \`        M\        p-T-! T#4      hT!'       g   T	'       d   T,'       d   \        R	4      hT	e   T!'       d   T,e   T,p	T	fP   S Pb                  '       d>   S Pd                  '       d    S Pf                  T#Pi                  4       8X  d   S Pb                  p	T	fZ   S Pj                  '       dH   T#Pl                  e:   S P<                  Po                  RS Pp                  T#Pl                  4      G Rj  xL
 p	Te%   T	e!   \r        Pt                  T9   d   \        R
4      hS Pv                  Py                  T#4      p.Te\   \{        S Pv                  P|                  R7      p/T/P                  T4       T/Py                  T#4      p0T0'       d   T.P                  T04       Rp1Te   \1        T4      p1MXS Pj                  '       dG   \        \        4      ;_uu_ 4        \        P                  ! \        T#4      G Rj  xL
 w  p1pRRR4       S P                  TT#TTT&TT.T	T"TTTS P<                  S P                  T1TS>S Te   TMRTTS?S P                  R7      p2R TTTTTT=T T>T?3	R llp3Tf   S P                  MTp4T4'       d   \        T3T44      p5MT3p5 T5! T24      G Rj  xL
 p6T6P                  '       d1   S Pv                  P                  T6P                  T6P                  4       T6P                  R9   Ed   T
'       Ed   S? F.  p*T*P                  TT#PU                  T4      TT64      G Rj  xL
  K0  	  T ^,          p T!P                  T64       T'       dn   T T8  dg   T2P                  e#   T2P                  P                  4       G Rj  xL
  T6P                  4        \        T!^ ,          P                  \        T!4      4      hT6P                  R8X  d    T6P                  \r        P                  8w  g1   T6P                  R9   dw   T6P                  \r        P                  8X  dX   \r        P                  pRpTP                  \r        P                  4      '       d    TP                  \r        P                  4       MT2P                  pT6P                  P                  \r        P                  4      ;'       g*    T6P                  P                  \r        P                  4      p8T8f   EMT6P                  4         \1        T8S P                  '       * R7      p9T9P"                  p:T:\        9  dL   T2P                  e#   T2P                  P                  4       G Rj  xL
  T6P                  4        \        T84      hT:'       g   T#P                  T94      p9 T9Pi                  4       p;T#Pi                  4       T;8w  d#   Rp	TP                  \r        Pt                  R4       T9p#/ pT6P                  4        EK   RRR4       X2P                  e#   T2P                  P                  4       G Rj  xL
  Tf   S P                  pTf   M:\        T4      '       d   T! X64      G Rj  xL
  MT'       d   X6P                  4        T(eE   X6P                  e'   T6P                  P                  T(P                  4       MT(P                  4        \        T!4      X6nv        S? F.  p*T*P                  TT#PU                  T4      TT64      G Rj  xL
  K0  	  T6#   \         d   p$\        T4      T$hRp$?$ii ; iu up%i   \         d   p$\3        T4      T$hRp$?$ii ; iu up)i  EL ELS ELU  + '       g   i     ELY; i EL  \        \        \        \        3 d    h \        \        3 d    T+'       d   Rp+ EK  h \         d    h \         dI   p7T7P                  f"   \        T7\        P                  4      '       d   h \        T7P                  !  T7hRp7?7ii ; i EL EL  \         dT   p$T2P                  e$   T2P                  P                  4       G Rj  xL 
  T6P                  4        \a        T8R4      T$hRp$?$ii ; i EL  \         dT   p<T2P                  e$   T2P                  P                  4       G Rj  xL 
  T6P                  4        \a        T9R4      T<hRp<?<ii ; i  + '       g   i     EL; i EL EL EL  \         df   p$T'P                  4        T('       d   T(P                  4        Rp(S? F/  p*T*P                  TT#PU                  T4      TT$4      G Rj  xL 
  K1  	  h Rp$?$ii ; i5i)zSession is closedNz9data and json parameters can not be used at the same time)dumpszChunk size is deprecated #1615r   )r   )r   Tz<Cannot combine AUTH argument with credentials encoded in URLzTCannot combine AUTHORIZATION header with AUTH argument or credentials encoded in URL)quote_cookie)rp   rt   ru   rq   rs   rv   r   ry   rz   r{   r   r   r~   r   timersessionr   r   r   tracesr   c                0    V ^8  d   QhR\         R\        /# )ro   reqr   )rB   rC   )r   s   "r   r   ,ClientSession._request.<locals>.__annotate__  s     $$ $$*$$'$$r   c                   <	"   S
P                   f   Q h S
P                   P                  V SS	R7      G R j  xL
 pTP                  f   Q hTP                  P                  ST P                  \        9   SSS	P                  SS
P                   P                  SSR7	        T P                  T4      G R j  xL
 p TP                  T4      G R j  xL
  T#  L  \        P                   d   p\	        RT P
                   24      ThR p?ii ; i LX L@  \         d    TP                  4        h i ; i  \         d    TP                  4        h i ; i5i)N)rE  r   zConnection timeout to host )	rC  skip_payloadr}   r   r   r   timeout_ceil_thresholdr   r   )r   r   r   TimeoutErrorr0   r,  protocolset_response_paramsr+  rR   r   _timeout_ceil_thresholdsendstartBaseExceptionclose)rG  connexcrespr   r   r   r   r}   real_timeoutr  rC  rE  s   &   r   _connect_and_send_request9ClientSession._request.<locals>._connect_and_send_request  sM      $:::')-)@)@ #FL *A * $D  $}}88899"'),7I)I+9,;)5)?)?)537??3Z3Z*7+9 : 
	"),$#7D&&*jj&6 6 6  $=$  '33 '"8"=cggY G##&''$ $8 6#0 & $

 %&  - " JJL!"s   E!C CC A#ED0 3D4D0 9D DD EC D	+DD		ED0 D D--D0 0EEF/  )encodedzHServer attempted redirecting to a location that does not look like a URLzInvalid redirect URL origin)-  .  rZ  i3  i4  )r\  r]  )zr"  r   rF   r   r   JsonPayloadr   r   r   r   r   r   r   _prepare_headersr9  r3   r   schemeallowed_protocol_schema_setr5   r   r   r  r  r   r2   rX   r   ri   rT   r   r   r   rQ  r   r   r   r   r   ra   trace_config_ctxsend_request_startupdate_queryrC  r  IDEMPOTENT_METHODSrY   raw_hostr4   r   r   r   r   r   hostrun_in_executor_get_netrc_authr   AUTHORIZATIONr   filter_cookiesrO   rB  r   loadr   LookupErrorr   	to_threadrV   r   r   r   r  rA   r0   r'   r%   r(   r+   r9   r)   OSErrorerrnorL  args_raw_cookie_headersupdate_cookies_from_headersr,  statussend_request_redirectappend_bodyrS  r=   request_infotupler+  	METH_HEAD	METH_POSTMETH_GETgetCONTENT_LENGTHpoprt   LOCATIONURIreleaser   rJ   r6   r8  r   callabler|   
connectionadd_callbackcancel_historysend_request_endrR  send_request_exception)@r  r+  r6  rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r;  r<  r=  r   r   r   r   r   r   r   r   r   	redirectshistoryr   r,  er   skip_headerstmhandler	  traceretry_persistent_connectionauth_from_urlerr_exc_clsall_cookiestmp_cookie_jarreq_cookiesproxy_rG  rX  effective_middlewareshandlerrV  rU  r_urlparsed_redirect_urlr`  redirect_originorigin_val_errrW  rC  rE  s@   f&&$$$$$$$$$$$$$d$$$$$$$$$$dddd$                             @@@r   r4  ClientSession._request  s
    T ;;;233ZkJ 0K  &&t43G3GHD'4((W-@MM:<NO	(*--2 ''0	;//*-C ***::T__HHH',, (!2!2AQ!2''(L $$$22LL=''E11J= M 11-@M/E
 h*.--Lg}55,7;& JJ**<;V;V
 --L""33O  //M!!11N !% 3 3
 !4 --@Q-R
 !4
 E**633C3CF3KWUUU  
w	 **KKv9K/K , )<S)A&C<<<
  ) :!6 $
 *#.. #(9  |M4M,  ... $$2G2G3::<2W  $11 |CHH<P%)ZZ%?%? $"6"6&    + , ..'9(-  #'"2"2"A"A#"FK*)2)-)9)9)F)F* '55g>&4&C&CC&H&',,[9,0F(!$U%k227>7H7H 5s8 2.FJ 3
 --% '*6! +! '!) '"+!ZZ'+';';$#-# $#&?C(7&3%"&../ . C4$$ $$ $$P .9-@))k * -":57L# #<@%,S\1, ///((DD 44dhh
 {{&??OO%+E"'"="= &(8(8(@'4#   &,
 "Q	t,(Y--G"yy4&)iioo&7 7 7 JJL"2 '
 7 7w#  !KK3.4;;$..3P KK:5$++:W%)]]F#'D&{{4+>+>?? 'D,?,? @ $'99D $ 0 0 ? ! !4<<CSCS HHD !=! !LLN%25 %43M3M/M3/ "5!;!;!)BB"yy4&)iioo&7 7 7 JJL"?"FF!'25((;N2O/	2.A.H.H.JO ::<?:#'D#KK(:(:DA1!# [ ^ yy$iioo''''#'#9#9 '*++&t,,,!%%' !??.OO00?MMO!'NDM,,C,,V4gt     Ka  	;'
3:	;&  / 'Q./:
 VZ B2 322d  2 /,7/	  )+BC 6:?7$& " @99,CAUAU1V1V!+SXX6C?@ !8J  * %"yy4&)iioo&7 7 7 JJL"? % j# $%%	% !8  * 2"yy4&)iioo&7 7 7 JJL"? 3 =# $22	2w ` ( -
  	HHJ22C,,V4gq     	s  B2r>rh: $Ar,i &r'Ar/i :Cr &i=&-rjr-
p% 7Ap>pp"p*ppp/A p0Ap2j3C	p=pj	3j4j	;A>p:p
j"jj"p,A
p7+p"l=
#)p2p?m  CpAp-A p.m
Apn$&p4pn'Ap%3p% p5p% pp% Bp% /p"0	p% 9r:iiiri:)i55i::	rpj	j	pj""*l:l:l:p	l:&
l:1l:2Al55l::p pn!+n9m<
:"nn!!p'p2+p o 
"p  ppp	
p% p% "p% %r0Arr
rrrr+  	protocolsreceive_timeout	autocloseautoping	heartbeatr   max_msg_sizec          .        < V ^8  d   QhRS[ RS[RS[S[,          RS[S[S[3,          RS[S[,          RS[RS[RS[S[,          R	S[S[	,          R
S[S[,          RS[
RS[S[,          RS[S[ ,          RS[S[	,          RS[S[S[S[3,          RS[S[,          RS[S[,          RS[S[,          RS[S[,          RS[S[,          RS[RS[RR/# )ro   r,  r+  r  r   r  r  r  r  rv   r   rp   rt   r~   r   r   r;  r<  r=  r   r   ry   r  r   _WSRequestContextManager)rg   r   r   r   rI   rP   r   r   r   rS   rf   re   rj   rD   r?  r   )r   r   s   "r   r   r     sA    4
 4
4
 	4

 C=4
 	124
 "%4
 4
 4
 E?4
 y!4
 4
 4
 ,'4
 !4
  Y'!4
" :t[01#4
$ TN%4
& e_'4
( j))4
* "#+4
,  --4
. /4
0 14
2 
$34
r   c               b    \        V P                  VVVVVVVVV	V
VVVVVVVVVVVVR7      4      # )zInitiate websocket connection.)r+  r  r   r  r  r  r  rv   r   rp   rt   r~   r   r   r;  r<  r=  r   r   ry   r  )r  _ws_connect)r  r,  r+  r  r   r  r  r  r  rv   r   rp   rt   r~   r   r   r;  r<  r=  r   r   ry   r  s   &&$$$$$$$$$$$$$$$$$$$$$r   
ws_connectClientSession.ws_connect  sf    6 (# /#!#%%'' /+!)-  
 	
r   c          .        < V ^8  d   QhRS[ RS[RS[S[,          RS[S[S[3,          RS[S[,          RS[RS[RS[S[,          R	S[S[	,          R
S[S[,          RS[
RS[S[,          RS[S[ ,          RS[S[	,          RS[S[S[S[3,          RS[S[,          RS[S[,          RS[S[,          RS[S[,          RS[S[,          RS[RS[RS[/# )ro   r,  r+  r  r   r  r  r  r  rv   r   rp   rt   r~   r   r   r;  r<  r=  r   r   ry   r  r   )rg   r   r   r   rI   rP   r   r   r   rS   rf   re   rj   rD   r?  r   rH   )r   r   s   "r   r   r     sZ    W WW 	W
 C=W 	12W "%W W W E?W y!W W W ,'W !W  Y'!W" :t[01#W$ TN%W& e_'W( j))W* "#+W,  --W. /W0 1W2 
!3Wr   c                 "   V\         JdD   \        V\        4      '       d   TpM0\        P                  ! R \
        ^R7       \        VR7      pM\        pVe6   \        P                  ! R\
        ^R7       \        P                  ! VVR7      pVf   \        4       pM\        V4      p\        P                  R\        P                  R\        P                  R/pVP                  4        F  w  ppVP                  VV4       K  	  \         P"                  ! \$        P&                  ! ^4      4      pVP)                  4       V\        P*                  &   V'       d#   R	P-                  V4      V\        P.                  &   V
e   V
V\        P0                  &   V'       d    \3        VR
7      pVV\        P4                  &   Vf    \        P                  ! R\
        ^R7       Rp\7        VVVV4      pV P9                  VVVVRV	VVVVVR7      G Rj  xL
 p VP:                  ^e8w  d9   \=        VP>                  VP@                  RVP:                  VPB                  R7      hVPB                  PE                  \        P                  R4      PG                  4       R8w  d9   \=        VP>                  VP@                  RVP:                  VPB                  R7      hVPB                  PE                  \        P                  R4      PG                  4       R8w  d9   \=        VP>                  VP@                  RVP:                  VPB                  R7      hVPB                  PE                  \        PH                  R4      p\         P"                  ! \J        PL                  ! V\N        ,           4      PQ                  4       4      P)                  4       p VV 8w  d9   \=        VP>                  VP@                  RVP:                  VPB                  R7      hRp!V'       d   \        P.                  VPB                  9   db   VPB                  \        P.                  ,          PS                  R	4       U"u. uF  p"V"PU                  4       NK  	  p#p"V# F  p"V"V9   g   K  T"p! M	  Rp$V'       dF   VPB                  PE                  \        P4                  4      p%V%'       d    \W        V%4      w  pp$M^ pRp$VP\                  p'V'f   Q hV'P^                  p(V(f   Q hVP`                  f	   RV(n1        M3V(Pb                  e&   \e        VP`                  V(Pb                  4      V(n1        V'Pf                  p)V)f   Q h\i        V(RV Pj                  R7      p*V(Pm                  \o        V*V4      V*4       \q        V(V)RVV$R7      p+V Ps                  V*V+V!VVVVV Pj                  VVV$R7      #  ELu up"i   \X         dP   p&\=        TP>                  TP@                  T&PZ                  ^ ,          TP:                  TPB                  R7      T&hRp&?&ii ; i  \t         d    TPw                  4        h i ; i5i)zeparameter 'timeout' of type 'float' is deprecated, please use 'timeout=ClientWSTimeout(ws_close=...)'r   )ws_closeNzofloat parameter 'receive_timeout' is deprecated, please use parameter 'timeout=ClientWSTimeout(ws_receive=...)')
ws_receive	websocketUpgrade13,)ry   z+ssl=None is deprecated, please use ssl=TrueTF)	rp   rt   r}   rv   r~   r   r   r   r   zInvalid response status)r   rt  rt    zInvalid upgrade headerupgradezInvalid connection headerzInvalid challenge responser   )use_maskry   
notakeover)r  ry   client_notakeover   )<rX   r   rI   r   r   r   rG   r   r   r   r   UPGRADE
CONNECTIONSEC_WEBSOCKET_VERSIONitems
setdefaultbase64	b64encodeosurandomdecodeSEC_WEBSOCKET_KEYr8  SEC_WEBSOCKET_PROTOCOLORIGINr_   SEC_WEBSOCKET_EXTENSIONSrF   r0  rt  r?   rx  r  rt   r}  lowerSEC_WEBSOCKET_ACCEPThashlibsha1rZ   digestsplitstripr`   r^   rq  r  rM  r  r   max	transportr    r   
set_parserr\   r]   r   rR  rS  ),r  r,  r+  r  r   r  r  r  r  rv   r   rp   rt   r~   r   r   r;  r<  r=  r   r   ry   r  
ws_timeoutr  default_headerskeyvaluesec_keyextstrrV  r_keymatchrM  protoresp_protocolsr  compress_hdrsrU  rT  
conn_protor  readerwriters,   &&$$$$$$$$$$$$$$$$$$$$$                     r   r  ClientSession._ws_connect  st    4 ("'?33$
> '  -g>
2J&MM< # ZOLJ?-8]L&w/L LL+OOY&&
 *//1JC##C/ 2 ""2::b>2/6~~/?T++,8;8KL445(.L%2F:@L667 ;MM="
 CZkJ \\  !+' " 
 
s	{{c!,%%LL5;; LL  ||b1779[H,%%LL4;; LL  ||4::<	I,%%LL7;; LL  LL$$T%>%>CE$$W\\'F2B%C%J%J%LMTTVE~,%%LL8;; LL  HT88DLLH "&d.I.I!J!P!PQT!U"!U KKM!U  "
 ,E	)#( , J $ 0 01N1N O 	#/;M/J,*  !H!&J??D###J))) $$,*.
'((4*-)):+B+B+
' I((('
E

KF!!/&,"GP$!%F **

#!", +  k
t"" , #4 -- LL$'HHQK#';;$(LL  ###L  	JJL	s   EYA YA/Y
V?YG6X$ AX$ W1X$ X$ 0X$ W CX$ 'YX$ X!A
XX!!X$ $YYc                4   < V ^8  d   QhRS[ S[,          RR/# )ro   rt   r   CIMultiDict[str])r   re   )r   r   s   "r   r   r     s!      (> CU r   c                0   \        V P                  4      pV'       dy   \        V\        \        34      '       g   \        V4      p\        4       pVP                  4        F3  w  rEWC9   d   VP                  WE4       K  WRV&   VP                  V4       K5  	  V# )z3Add default headers and transform it to CIMultiDict)r   r   r   r   r   setr  add)r  rt   resultadded_namesr  r  s   &&    r   r_  ClientSession._prepare_headers  sx     T223g	'BCC%g.$'EK%mmo
%JJs*"'3KOOC( . r   c                6   < V ^8  d   QhRS[ RS[S[,          /# )ro   rg  r   )r   r   rS   )r   r   s   "r   r   r     s       C HY,? r   c                R    \        4       p \        W!4      #   \         d     R# i ; i)z
Get auth from netrc for the given host.

This method is designed to be called in an executor to avoid
blocking I/O in the event loop.
N)rW   rU   rm  )r  rg  	netrc_objs   && r   ri  ClientSession._get_netrc_auth  s.     #$		'	88 		s   
 &&c                :   < V ^8  d   QhRS[ RS[S[,          RR/# ro   r,  r%  r   r-  rg   rk   rm   )r   r   s   "r   r   r     .     	+ 	+	+ _-	+ &		+r   c                    R # r   r   r  r,  r%  s   &&,r   r}  ClientSession.get       (+r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   optionsClientSession.options  r  r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   headClientSession.head  r  r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   postClientSession.post  r  r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   putClientSession.put  r  r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   patchClientSession.patch  r  r   c                :   < V ^8  d   QhRS[ RS[S[,          RR/# r  r  )r   r   s   "r   r   r     r  r   c                    R # r   r   r  s   &&,r   deleteClientSession.delete  r  r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# ro   r,  rw   r%  r   r-  rg   r   r   )r   r   s   "r   r   r     -     	 		59	LO	%	r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP GET request.rw   )r-  r4  r   r|  r  r,  rw   r%  s   &&$,r   r}  r    s6     *MM38GKQ r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# r  r  )r   r   s   "r   r   r     r  r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP OPTIONS request.rw   )r-  r4  r   METH_OPTIONSr  s   &&$,r   r  r    s8     *%%s<KOU r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# r  r  )r   r   s   "r   r   r     s-     	 		59	MP	%	r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP HEAD request.rw   )r-  r4  r   rz  r  s   &&$,r   r  r    s6     *NNC9HLR r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# ro   r,  rq   r%  r   r-  rg   r   )r   r   s   "r   r   r      -     	 		*-	@C	%	r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP POST request.rq   )r-  r4  r   r{  r  r,  rq   r%  s   &&$,r   r  r     s-     *dnncGGG r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# r  r  )r   r   s   "r   r   r   (  r  r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP PUT request.rq   )r-  r4  r   METH_PUTr  s   &&$,r   r  r  (  s-     *dmmSFtFvF r   c                0   < V ^8  d   QhRS[ RS[RS[RR/# r  r  )r   r   s   "r   r   r   0  r  r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP PATCH request.rq   )r-  r4  r   
METH_PATCHr  s   &&$,r   r  r  0  s-     *doosHHH r   c                *   < V ^8  d   QhRS[ RS[RR/# r  r  )r   r   s   "r   r   r   8  s#     	 	h 	# 	:R 	r   c                X    \        V P                  ! \        P                  V3/ VB 4      # )zPerform HTTP DELETE request.)r-  r4  r   METH_DELETEr  s   &&,r   r
  r  8  s(    )d..>v> r   c                   < V ^8  d   QhRR/# ro   r   Nr   )r   r   s   "r   r   r   >  s     # #T #r   c                   "   V P                   '       gL   V P                  e5   V P                  '       d#   V P                  P                  4       G Rj  xL
  RV n        R# R#  L5i)z=Close underlying connector.

Release all acquired resources.
N)r"  r   r   rS  r  s   &r   rS  ClientSession.close>  sJ     
 {{{*t/D/D/Doo++---"DO -s   2A$A$A"A$c                    < V ^8  d   QhRS[ /# ro   r   r   )r   r   s   "r   r   r   I  s     A A Ar   c                Z    V P                   RJ ;'       g    V P                   P                  # )z0Is client session closed.

A readonly property.
N)r   r"  r)  s   &r   r"  ClientSession.closedH  s%     $&@@$//*@*@@r   c                0   < V ^8  d   QhRS[ S[,          /# r,  )r   rK   )r   r   s   "r   r   r   Q  s      8M2 r   c                    V P                   # )z(Connector instance used for the session.r   r)  s   &r   r   ClientSession.connectorP  s     r   c                    < V ^8  d   QhRS[ /# r,  r!   )r   r   s   "r   r   r   V  s        -  r   c                    V P                   # )zThe session cookies.)r   r)  s   &r   r   ClientSession.cookie_jarU  s     r   c                6   < V ^8  d   QhRS[ S[S[3,          /# r,  )r   r   )r   r   s   "r   r   r   [  s      sCx r   c                    V P                   # )z"The session HTTP protocol version.)r   r)  s   &r   r   ClientSession.versionZ       }}r   c                    < V ^8  d   QhRS[ /# r,  r-  )r   r   s   "r   r   r   `  s     * *d *r   c                    V P                   # ))Do URL requoting on redirection handling.)r   r)  s   &r   r   "ClientSession.requote_redirect_url_  s     )))r   c                $   < V ^8  d   QhRS[ RR/# )ro   r  r   Nr-  )r   r   s   "r   r   r   e  s     ) ) ) )r   c                L    \         P                  ! R\        ^R7       Wn        R# )r=  z=session.requote_redirect_url modification is deprecated #2778r   N)r   r   r   r   )r  r  s   &&r   r   r>  d  s!     	K	

 &)"r   c                4   < V ^8  d   QhRS[ P                  /# r,  )r   r   )r   r   s   "r   r   r   o  s      g// r   c                T    \         P                  ! R\        ^R7       V P                  # )zSession's loop.z"client.loop property is deprecatedr   )r   r   r   r   r)  s   &r   r   ClientSession.loopn  s%     	02DQR	
 zzr   c                    < V ^8  d   QhRS[ /# r,  )ri   )r   r   s   "r   r   r   w  s       r   c                    V P                   # )zTimeout for the session.)r   r)  s   &r   r   ClientSession.timeoutv  r:  r   c                   < V ^8  d   QhRR/# )ro   r   r  r   )r   r   s   "r   r   r   |  s     % %+ %r   c                    V P                   # )z*The default headers of the client session.)r   r)  s   &r   rt   ClientSession.headers{       $$$r   c                0   < V ^8  d   QhRS[ S[,          /# r,  )r
   r   )r   r   s   "r   r   r     s     ' '9T? 'r   c                    V P                   # )z2Headers for which autogeneration should be skipped)r   r)  s   &r   ru   ClientSession.skip_auto_headers  s     &&&r   c                0   < V ^8  d   QhRS[ S[,          /# r,  )r   rS   )r   r   s   "r   r   r     s     " "hy) "r   c                    V P                   # )z2An object that represents HTTP Basic Authorization)r   r)  s   &r   rv   ClientSession.auth  s     !!!r   c                    < V ^8  d   QhRS[ /# r,  )rc   )r   r   s   "r   r   r     s     $ $ $r   c                    V P                   # )zJson serializer callable)r   r)  s   &r   r   ClientSession.json_serialize  s     ###r   c                    < V ^8  d   QhRS[ /# r,  r-  )r   r   s   "r   r   r          % % %r   c                    V P                   # )z-Should connector be closed on session closing)r   r)  s   &r   r   ClientSession.connector_owner  rJ  r   c                \   < V ^8  d   QhRS[ S[S[S[.S[R,          3,          3,          /# r'  )r   r   r   rC   r   )r   r   s   "r   r   r     s0     & &	tX~.	$?@@	A&r   c                    V P                   # )zGShould `ClientResponse.raise_for_status()` be called for each response.)r   r)  s   &r   r|   ClientSession.raise_for_status  s    
 %%%r   c                    < V ^8  d   QhRS[ /# r,  r-  )r   r   s   "r   r   r     rU  r   c                    V P                   # )z7Should the body response be automatically decompressed.)r   r)  s   &r   r   ClientSession.auto_decompress  rJ  r   c                    < V ^8  d   QhRS[ /# r,  r-  )r   r   s   "r   r   r     s      4 r   c                    V P                   # )z
Should proxies information from environment or netrc be trusted.

Information is from HTTP_PROXY / HTTPS_PROXY environment variables
or ~/.netrc file if present.
)r   r)  s   &r   r   ClientSession.trust_env  s     r   c                0   < V ^8  d   QhRS[ S[,          /# r,  )r   rb   )r   r   s   "r   r   r     s     # #tK0 #r   c                    V P                   # )z7A list of TraceConfig instances used for client tracing)r   r)  s   &r   r   ClientSession.trace_configs  s     """r   c                   < V ^8  d   QhRR/# r'  r   )r   r   s   "r   r   r     s       r   c                    RV n         R# )zgDetach connector from session without closing the former.

Session is switched to closed state anyway.
Nr2  r)  s   &r   detachClientSession.detach  s    
 r   c                   < V ^8  d   QhRR/# r'  r   )r   r   s   "r   r   r     s     2 24 2r   c                    \        R 4      h)zUse async with instead)	TypeErrorr)  s   &r   	__enter__ClientSession.__enter__  s    011r   c                p   < V ^8  d   QhRS[ S[S[,          ,          RS[ S[,          RS[ S[,          RR/# ro   exc_typeexc_valexc_tbr   Nr   r   rR  r   )r   r   s   "r   r   r     sG      4./ -( '	
 
r   c                    R # r   r   r  ro  rp  rq  s   &&&&r   __exit__ClientSession.__exit__  s     	r   c                   < V ^8  d   QhRR/# )ro   r   rh   r   )r   r   s   "r   r   r     s      / r   c                   "   V # 5ir   r   r)  s   &r   
__aenter__ClientSession.__aenter__  s
     s   c                p   < V ^8  d   QhRS[ S[S[,          ,          RS[ S[,          RS[ S[,          RR/# rn  rr  )r   r   s   "r   r   r     sG      4./ -( '	
 
r   c                B   "   V P                  4       G R j  xL
  R #  L5ir   )rS  rt  s   &&&&r   	__aexit__ClientSession.__aexit__  s      jjls   c                f   < V ^8  d   Qh/ S[ S[P                  ,          ;R&   S[ S[,          ;R&   # )ro   r   r   )r   r   StackSummaryrK   )r   r   s   "r   r   r      s3     L  	 6 67>M N '.O r   )r   r   r   r   r   r   r   r   r  r  r   r   r   r   r  r   r   r   r   r  r   r  r   r   r   r   r   r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r   r   r  r         i  @ )Fr   r   r   r   __doc__r   r  r   r   rr   rA  rB   rC   rH   r   HttpVersion11rX   r
  r  rQ   r  r   r'  r   version_infor   r0  r9  r4  r   r|  r  r  r_  ri  r}  r  r  r  r  r  r
  rS  propertyr"  r   r   r   r   setterr   r   rt   ru   rv   r   r   r|   r   r   r   rf  rk  ru  ry  r}  r   r   r   __classcell__)r  r   s   @@r   rh   rh      s    9	
!EF ;?*.J\( .2	\(
 59\( +/\( +/\( %)\( +/\( 6:\( %)\( '+jj\( .;\( 0>\( <S\(   $11!\(" 37#\($ !%%\(* +\(, 19-\(. )-/\(0 191\(2 !%3\(4  5\(6 &*7\(8 6:9\(: ";\(< "=\(> #?\(@ 7KA\(B 79C\(D ?GE\( \(|
 
 	+ 	+ (0 	7 	7 7"}	+ 	+	P 	P @
 @ @ @ +/@ +/@ 6:@ %)@ !%@  @ ,0@ #'@   !@& '@(  $)@* %)+@, +/-@. 4</@0 &*1@2 (,3@4 -15@6 597@8 *.9@: 15;@< :>=@> '+?@@ +/A@B (,C@D )-E@F AEG@ @D4
 mm	4

 $&4
 6>4
 ,04
 4
 4
 &*4
 %)4
 !%4
 4
 +/4
 %)4
  +/!4
" 59#4
$ &*%4
& (,'4
( -1)4
* *.+4
, 15-4
. /4
0 ,14
 4
lW mm	W
 $&W 6>W ,0W W W &*W %)W !%W W +/W %)W  +/!W" 59#W$ &*%W& (,'W( -1)W* *.+W, 15-W. /W0 ,1W Wr    7"}	+ 	+	+ 	+	+ 	+	+ 	+	+ 	+	+ 	+	+ 	+	<@	 		<@	 		<A	 		04	 		04	 		04	 		 	# # A A         * *   ) !)     % % ' ' " " $ $ % % & & % %   # # 2 2   y&  r   c                      a  ] tR tRt o RtV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR	 ltV 3R
 lR lt	V 3R lR lt
V 3R lR ltV 3R lR ltRtV tR# )_BaseRequestContextManageri  c                :   < V ^8  d   QhRS[ RRS[3,          RR/# )ro   coroasyncio.Future[Any]Nr   )r   r   )r   r   s   "r   r   '_BaseRequestContextManager.__annotate__  s-     L LY'<dH'LM LRV Lr   c                    Wn         R # r   )_coro)r  r  s   &&r   r
  #_BaseRequestContextManager.__init__  s    GK
r   c                "   < V ^8  d   QhRRRR/# )ro   argNr   r  r   )r   r   s   "r   r   r    s     $ $ $!6 $r   c                8    V P                   P                  V4      # r   )r  rP  )r  r  s   &&r   rP  _BaseRequestContextManager.send  s    zzs##r   c                *   < V ^8  d   QhRS[ RS[ RR/# )ro   rq  r%  r   r  r  )r   r   s   "r   r   r    s#     1 13 1# 12G 1r   c                :    V P                   P                  ! V/ VB # r   )r  throw)r  rq  r%  s   &*,r   r   _BaseRequestContextManager.throw  s    zz000r   c                   < V ^8  d   QhRR/# r'  r   )r   r   s   "r   r   r    s     " "t "r   c                6    V P                   P                  4       # r   )r  rS  r)  s   &r   rS   _BaseRequestContextManager.close  s    zz!!r   c                8   < V ^8  d   QhRS[ S[RS[3,          /# r'  r   r   r   )r   r   s   "r   r   r    s       9S$%89 r   c                :    V P                   P                  4       pV# r   )r  	__await__)r  rets   & r   r  $_BaseRequestContextManager.__await__  s    jj""$
r   c                8   < V ^8  d   QhRS[ S[RS[3,          /# r'  r  )r   r   s   "r   r   r    s         )Cx$78  r   c                "    V P                  4       # r   )r  r)  s   &r   __iter__#_BaseRequestContextManager.__iter__  s    ~~r   c                    < V ^8  d   QhRS[ /# r,  )r   )r   r   s   "r   r   r    s     - -( -r   c                   "   V P                   G R j  xL
 V n        V P                  P                  4       G R j  xL
 #  L+ L5ir   )r  _respry  r)  s   &r   ry  %_BaseRequestContextManager.__aenter__  s1     %)ZZ/
ZZ**,,,  0,s   A>&AA A Ac                p   < V ^8  d   QhRS[ S[S[,          ,          RS[ S[,          RS[ S[,          RR/# ro   ro  rU  tbr   Nrr  )r   r   s   "r   r   r    sG     6 64./6 m$6 ]#	6
 
6r   c                Z   "   V P                   P                  WV4      G R j  xL
  R #  L5ir   )r  r}  r  ro  rU  r  s   &&&&r   r}  $_BaseRequestContextManager.__aexit__  s!      jj""8"555s    +)+)r  r  N)r   r   r   r   	__slots__r
  rP  r  rS  r  r  ry  r}  r   r   r   s   @r   r  r    s\     "IL L$ $1 1" "    - -6 6r   r  c                   Z   a  ] tR tRt o RtV 3R lR ltV 3R lR ltV 3R lR ltRtV t	R	# )
_SessionRequestContextManageri  c                @   < V ^8  d   QhRS[ RRS[3,          RS[RR/# )ro   r  r  NrD  r   )r   rC   rh   )r   r   s   "r   r   *_SessionRequestContextManager.__annotate__  s6        -t^CD    
	 r   c                ,    Wn         R V n        W n        R # r   r  r  _session)r  r  rD  s   &&&r   r
  &_SessionRequestContextManager.__init__  s    
 
/3
r   c                    < V ^8  d   QhRS[ /# r,  )rC   )r   r   s   "r   r   r    s      . r   c                   "    V P                   G R j  xL
 V n        V P                  #  L  \         d&    T P                  P	                  4       G R j  xL 
  h i ; i5ir   )r  r  rR  r  rS  r)  s   &r   ry  (_SessionRequestContextManager.__aenter__  sP     	#zz)DJ
 :: * 	--%%'''	s1   A+ )	+ A+ (AAAAc                p   < V ^8  d   QhRS[ S[S[,          ,          RS[ S[,          RS[ S[,          RR/# r  rr  )r   r   s   "r   r   r    sG     $ $4./$ m$$ ]#	$
 
$r   c                   "   V P                   f   Q hV P                   P                  4        V P                  P                  4       G R j  xL
  R #  L5ir   )r  rS  r  r  s   &&&&r   r}  '_SessionRequestContextManager.__aexit__  s=      zz%%%

mm!!###s   AA
AAr  N)
r   r   r   r   r  r
  ry  r}  r   r   r   s   @r   r  r    s(     .I    $ $r   r  r   r   r   c                    V ^8  d   QhR\         R\        R\        R\        \        ,          R\        \
        P                  ,          R\        \        ,          R\        /# ro   r+  r,  r   r   r   r%  r   )
r   rg   r[   r   rK   r   r   rk   rm   r  )r   s   "r   r   r     sc     , ,,, 	,
 M*, w001, ), 
',r   c                    R # r   r   )r+  r,  r   r   r   r%  s   &&$$$,r   r0  r0    s     ),r   c                    V ^8  d   QhR\         R\        R\        R\        \        ,          R\        \
        P                  ,          R\        R\        /# r  )	r   rg   r[   r   rK   r   r   r   r  )r   s   "r   r   r   %  s^     >
 >
>
>
 	>

 M*>
 w001>
 >
 
'>
r   c          	         RpVf   Rp\        VRR7      p\        VVP                  RR4      VVP                  R\        4      VVR7      p\	        VP
                  ! W3/ VB V4      # )a2  Constructs and sends a request.

Returns response object.
method - HTTP method
url - request url
params - (optional) Dictionary or bytes to be sent in the query
string of the new request
data - (optional) Dictionary, bytes, or file-like object to
send in the body of the request
json - (optional) Any json compatible python object
headers - (optional) Dictionary of HTTP Headers to send with
the request
cookies - (optional) Dict object to send with the request
auth - (optional) BasicAuth named tuple represent HTTP Basic Auth
auth - aiohttp.helpers.BasicAuth
allow_redirects - (optional) If set to False, do not follow
redirects
version - Request HTTP version.
compress - Set to True if request has to be compressed
with deflate encoding.
chunked - Set to chunk size for chunked transfer encoding.
expect100 - Expect 100-continue response from server.
connector - BaseConnector sub-class instance to support
connection pooling.
read_until_eof - Read response until eof if response
does not have Content-Length header.
loop - Optional event loop.
timeout - Optional ClientTimeout settings structure, 5min
total timeout by default.
Usage::
>>> import aiohttp
>>> async with aiohttp.request('GET', 'http://python.org/') as resp:
...    print(resp)
...    data = await resp.read()
<ClientResponse(https://www.python.org/) [200 OK]>
FNT)r   force_closers   r   )r   rs   r   r   r   r   )rM   rh   r  rX   r  r4  )r+  r,  r   r   r   r%  r   rD  s   &&$$$,  r   r0  r0  %  sx    Z  "O$$DAIJJy$/JJy(3+
 -V3F3
 	
r   c                V    V ^8  d   Qh/ ^ \         9   d   \        \        ,          ;R&   # )ro   r   )__conditional_annotations__r	   ri   )r   s   "r   r   r      s"      ~ U T}% T r   )*r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r7   r5   r4   r6   r8   r9   r:   r;   r<   r=   r?   rB   rC   rD   rE   rK   rM   rN   rL   rH   rh   ri   rI   r0  r>   r  i,  >   GETPUTHEADTRACEDELETEOPTIONS)r  r  r   r  r  rr   r  r   r   r   
contextlibr   typesr   typingr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   	multidictr   r   r   r   yarlr   r  r   r   r   _websocket.readerr    abcr"   client_exceptionsr#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   client_middlewaresr@   rA   client_reqreprB   rC   rD   rE   rF   	client_wsrG   rH   rI   r   rJ   rK   rL   rM   rN   	cookiejarrO   helpersrP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   http_websocketr^   r_   r`   tracingra   rb   typedefsrc   rd   re   rf   rg   __all__r   rj   r  rk   rm   sri   r   r   re  r   r?  r   r   rh   r  r-  r  r  r  r0  r   )r  s   @r   <module>r     s6        	 
         .  B B  ! ! 1 "       > O  
  !   H G F F ' N N0f Jw=:iu :: T$d3  4, )6FQS(T T ST :~/FG^U3S89 b bJ'!63X+=!>@Q !6H 4NC 56MN $ $B w=,  $11	,
 .2, 59, ,>
  $11	>

 .2>
 59>
 >
r   