+
    ~j                       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[	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max_headersmiddlewares)rf   r   r   rd   re   r   strrS   boolintr   rC   r   rg   rj   rD   r   r   r   r@   )format__classdict__s   "c/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/aiohttp/client.py__annotate___RequestOptions.__annotate__   s4    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 sDy!!5 6 (#78997      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]! . RNRNRNRNRNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR N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!R0R1R2R3R4]R5R!R6]R7R1R8R3R R1R9R!R:RR;R<R=R<R>^R?R@ RARRB]/V3RC lRD llltV3RE lRF lt]'       d   V3RG lV 3RH llt]3V3RI lRJ llt]P0                  R8  d   ]'       d   V3RK lRL ltM	V3RM lRN ltV3RO lRP ltRQR!RRR!RSR!R$R!R%R!R(R!R)R!RTR1RU^
RVR!RWR!RXR3R2R!RYR1R&R!R'R!R6]RZR!R[R!R\R!R]R1R^R!R_R!R`R!R:R!R7R!R;R!R=R!R>R!RAR!/V3Ra lRb lltRc]P<                  RdRR6]ReR!RfR1RgR1RhR!R)R!RiR!RQR!R%R!R&R!R'R!R]R1RZR!R[R!R\R!R^R!R_R!RV^ RjR/V3Rk lRl lltRc]P<                  RdRR6]ReR!RfR1RgR1RhR!R)R!RiR!RQR!R%R!R&R!R'R!R]R1RZR!R[R!R\R!R^R!R_R!RV^ RjR/V3Rm lRn llt V3Ro lRp lt!V3Rq lRr lt"]P0                  R8  dI   ]'       dA   V3Rs lRt lt#V3Ru lRv lt$V3Rw lRx lt%V3Ry lRz lt&V3R{ lR| lt'V3R} lR~ lt(V3R lR lt)MWRTR1/V3R lR llt#RTR1/V3R lR llt$RTR3/V3R lR llt%RRR!/V3R lR llt&RRR!/V3R lR llt'RRR!/V3R lR llt(V3R lR lt)V3R lR lt*]+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4       t/]+V3R 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.	_base_url_base_url_origin_source_traceback
_connector_loop_cookie_jar_connector_owner_default_auth_version_json_serialize_requote_redirect_url_timeout_raise_for_status_auto_decompress
_trust_env_default_headers_skip_auto_headers_request_class_response_class_ws_response_class_trace_configs_read_bufsize_max_line_size_max_field_size_max_headers_resolve_charset_default_proxy_default_proxy_auth_retry_connection_middlewares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   r   fallback_charset_resolverc                    R # )zutf-8r   )rbs   &&r   <lambda>ClientSession.<lambda>5  s    7r   r   ssl_shutdown_timeoutc          A        < 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[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   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^(: ;^(< =^(> ?^(@ A^(B $4C^(D 23E^(F $ItU$:;G^(H 
I^(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V n-        V'       d   \]        V4      p M
\]        4       p V V n/        Ve   \a        R V 4       4      V n1        M\a        4       V n1        Wn2        Wn3        Wn4        T;'       g    . V n5        V Pj                   F  p!V!Pm                  4        K  	  VV n7        W`n8        Wpn9        RV n:        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)<r   r   r   get_running_loop
isinstancer   r   originr   absolutepathendswith
ValueErrorrX   DEFAULT_TIMEOUTr   warningswarnDeprecationWarningattrevolveri   typerM   RuntimeError	get_debug	tracebackextract_stacksys	_getframer   rO   r   update_cookiesr   r   r   r   r   r   r   r   r   r   r   r   r   r   	frozensetr   r   r   r   r   freezer   r   r   r   r   )"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   r   real_headerstrace_configs"   &&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  r   __init__ClientSession.__init__  sg   N 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/  _requestr1  s   &&&,r   r2  r3    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	  r8  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          B        < 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[
,          R!S[S[S[,          ,          R"S[/!# )#ro   r-  r8  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   )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.    G GG G
 G G G ,'G ,'G $HSM2G y!G G G T4(G $G  !G"  $.!19T?!BCC
#G( )G* !+G, Y'-G. }i/0/G0 TN1G2 e_3G4 j)5G6 :t[017G8 "#9G:  -;G< $GCH$56=G> sm?G@ "$AGB  }CGD !EGF c]GGH h';<=IGJ 
KGr   c                 a 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f   S PL                  oS PN                   U*u. uF   p*\Q        S T*T*PS                  TR7      4      NK"  	  up*o@S@ F-  p+T+PU                  TT$PW                  T4      T4      G Rj  xL
  K/  	  T(PY                  4       o? S?;_uu_ 4        S PZ                  ;'       d
    T\\        9   p, \_        T$4      w  p$p-T$P`                  '       g   T!'       d   \b        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 Pd                  '       d>   S Pf                  '       d    S Ph                  T$Pk                  4       8X  d   S Pd                  p	T	fZ   S Pl                  '       dH   T$Pn                  e:   S P<                  Pq                  RS Pr                  T$Pn                  4      G Rj  xL
 p	Te%   T	e!   \t        Pv                  T9   d   \        R
4      hS Px                  P{                  T$4      p/Te\   \}        S Px                  P~                  R7      p0T0P                  T4       T0P{                  T$4      p1T1'       d   T/P                  T14       Rp2Te   \1        T4      p2MXS Pl                  '       dG   \        \        4      ;_uu_ 4        \        P                  ! \        T$4      G Rj  xL
 w  p2pRRR4       S P                  TT$TTT'TT/T	T#TTTS P<                  S P                  T2TS?S Te   TMRTTS@S P                  R7      p3R TTTTTTT>T T?T@3
R llp4T f   S P                  MT p5T5'       d   \        T4T54      p6MT4p6 T6! T34      G Rj  xL
 p7T7P                  '       d1   S Px                  P                  T7P                  T7P                  4       T7P                  R9   Ed7   T
'       Ed.   S@ F.  p+T+P                  TT$PW                  T4      TT74      G Rj  xL
  K0  	  T!^,          p!T"P                  T74       T'       dn   T!T8  dg   T3P                  e#   T3P                  P                  4       G Rj  xL
  T7P                  4        \        T"^ ,          P                  \        T"4      4      hT7P                  R8X  d    T7P                  \t        P                  8w  g1   T7P                  R9   dw   T7P                  \t        P                  8X  dX   \t        P                  pRpTP                  \t        P                  4      '       d    TP                  \t        P                  4       MT3P                  pT7P                  P                  \t        P                  4      ;'       g*    T7P                  P                  \t        P                  4      p9T9f   EMHT7P                  4         \1        T9S P                  '       * R7      p:T:P"                  p;T;\        9  dL   T3P                  e#   T3P                  P                  4       G Rj  xL
  T7P                  4        \        T94      hT;'       g   T$P                  T:4      p: T:Pk                  4       p<T$Pk                  4       T<8w  dc   Rp	TP                  \t        Pv                  R4       TP                  \t        P                  R4       TP                  \t        P                  R4       T:p$/ pT7P                  4        EKP   RRR4       X3P                  e#   T3P                  P                  4       G Rj  xL
  Tf   S P                  pTf   M:\        T4      '       d   T! X74      G Rj  xL
  MT'       d   X7P                  4        T)eE   X7P                  e'   T7P                  P                  T)P                  4       MT)P                  4        \        T"4      X7ny        S@ F.  p+T+P                  TT$PW                  T4      TT74      G Rj  xL
  K0  	  T7#   \         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L EL  + '       g   i     EL; i EL
  \        \        \        \        3 d    h \        \        3 d    T,'       d   Rp, EK  h \         d    h \         dI   p8T8P                  f"   \        T8\        P                  4      '       d   h \        T8P                  !  T8hRp8?8ii ; i EL EL  \         dT   p%T3P                  e$   T3P                  P                  4       G Rj  xL 
  T7P                  4        \c        T9R4      T%hRp%?%ii ; i ELX  \         dT   p=T3P                  e$   T3P                  P                  4       G Rj  xL 
  T7P                  4        \c        T:R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$PW                  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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)rG  r   zConnection timeout to host )
rE  skip_payloadr}   r   r   r   timeout_ceil_thresholdr   r   r   )r   r   r   TimeoutErrorr0   r.  protocolset_response_paramsr-  rR   r   _timeout_ceil_thresholdsendstartBaseExceptionclose)rI  connexcrespr   r   r   r   r   r}   real_timeoutr	  rE  rG  s   &   r   _connect_and_send_request9ClientSession._request.<locals>._connect_and_send_request  sP      $:::')-)@)@ #FL *A * $D  $}}88899"'),7I)I+9,;)5)?)?)537??3Z3Z*7+9(3 : 	"),$#7D&&*jj&6 6 6  $?$  '33 '"8"=cggY G##&''& $8 6#0 & $

 %&  - " JJL!"s   E!C CC A$E D1 4D5D1 :D DD EC D
,DD

ED1 D D..D1 1EEF/  )encodedzHServer attempted redirecting to a location that does not look like a URLzInvalid redirect URL origin)-  .  r\  i3  i4  )r^  r_  )}r$  r   rF   r   r   JsonPayloadr   r   r   r   r   r   r   _prepare_headersr;  r3   r   schemeallowed_protocol_schema_setr5   r   r   r   r   r   r2   rX   r   ri   rT   r   r   r   rS  r   r   r   r   r   r   ra   trace_config_ctxsend_request_startupdate_queryrE  r   IDEMPOTENT_METHODSrY   raw_hostr4   r   r   r   r   r   hostrun_in_executor_get_netrc_authr   AUTHORIZATIONr   filter_cookiesrO   rD  r  loadr   LookupErrorr   	to_threadrV   r   r   r   r   rA   r0   r'   r%   r(   r+   r9   r)   OSErrorerrnorN  args_raw_cookie_headersupdate_cookies_from_headersr.  statussend_request_redirectappend_bodyrU  r=   request_infotupler-  	METH_HEAD	METH_POSTMETH_GETgetCONTENT_LENGTHpoprt   LOCATIONURIreleaser   rJ   r6   r:  COOKIEPROXY_AUTHORIZATIONr   callabler|   
connectionadd_callbackcancel_historysend_request_endrT  send_request_exception)Ar	  r-  r8  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   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_rI  rZ  effective_middlewareshandlerrX  rW  r_urlparsed_redirect_urlrb  redirect_originorigin_val_errrY  rE  rG  sA   f&&$$$$$$$$$$$$$d$$$$$$$$$$ddddd$                             @@@r   r6  ClientSession._request  s4    V ;;;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++K !% 3 3
 !4 --@Q-R
 !4
 E**633C3CF3KWUUU  
z	 **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%$ %$ %$R .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#KKT:#KK(@(@$G1!# a d yy$iioo''''#'#9#9 '*++&t,,,!%%' !??.OO00?MMO!'NDM,,C,,V4gt     Km  	;'
3:	;&  / 'Q./@
 VZ B2 322f  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	2y f ( -
  	HHJ22C,,V4gq     	s  B2s*?s*j %As*-j+&s*(As*0j0 ;Cs*&k7-s*$k%s*>
q7 Aqq+q3q;qq.q A qAqkC	qq%k	kk	A?qqk4'k1(k4,q>A
q	+q4n
5)q2qnCq#Aq?A q nAqo6&qqo9(Bq73q7 *q.+5q7  q1!q7 .Bq7 q4	q7 s*j(j##j((s*0k;kk	s*qk	k.(	q1k44*nn(n*q.	n8
nnAnnqqo3 +o.o
"o..o33q9q+q/p2
0"qqqq+	%
q7 1q7 4q7 7s'As"s
s""s''s*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   rA  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   rA  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"  rv  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_KEYr:  SEC_WEBSOCKET_PROTOCOLORIGINr_   SEC_WEBSOCKET_EXTENSIONSrF   r2  rv  r?   rz  r  rt   r  lowerSEC_WEBSOCKET_ACCEPThashlibsha1rZ   digestsplitstripr`   r^   rs  r  rO  r  r   max	transportr    r   
set_parserr\   r]   r   rT  rU  ),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extstrrX  r_keymatchrO  protoresp_protocolsr  compress_hdrsrW  rV  
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   ra  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   ri  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   ro  )r	  ri  	netrc_objs   && r   rk  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/  r6  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/  r6  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/  r6  r   r|  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/  r6  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   3  r  r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP PUT request.rq   )r/  r6  r   METH_PUTr   s   &&$,r   r  r  3  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   ;  r  r   c               \    \        V P                  ! \        P                  V3RV/VB 4      # )zPerform HTTP PATCH request.rq   )r/  r6  r   
METH_PATCHr   s   &&$,r   r
  r  ;  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   C  s#     	 	h 	# 	:R 	r   c                X    \        V P                  ! \        P                  V3/ VB 4      # )zPerform HTTP DELETE request.)r/  r6  r   METH_DELETEr  s   &&,r   r  r  C  s(    )d..>v> r   c                   < V ^8  d   QhRR/# ro   r   Nr   )r   r   s   "r   r   r   I  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   rU  r	  s   &r   rU  ClientSession.closeI  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   T  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.closedS  s%     $&@@$//*@*@@r   c                0   < V ^8  d   QhRS[ S[,          /# r0  )r   rK   )r   r   s   "r   r   r   \  s      8M2 r   c                    V P                   # )z(Connector instance used for the session.r   r-  s   &r   r   ClientSession.connector[  s     r   c                    < V ^8  d   QhRS[ /# r0  r!   )r   r   s   "r   r   r   a  s        -  r   c                    V P                   # )zThe session cookies.)r   r-  s   &r   r   ClientSession.cookie_jar`  s     r   c                6   < V ^8  d   QhRS[ S[S[3,          /# r0  )r   r   )r   r   s   "r   r   r   f  s      sCx r   c                    V P                   # )z"The session HTTP protocol version.)r   r-  s   &r   r   ClientSession.versione       }}r   c                    < V ^8  d   QhRS[ /# r0  r1  )r   r   s   "r   r   r   k  s     * *d *r   c                    V P                   # ))Do URL requoting on redirection handling.)r   r-  s   &r   r   "ClientSession.requote_redirect_urlj  s     )))r   c                $   < V ^8  d   QhRS[ RR/# )ro   r  r   Nr1  )r   r   s   "r   r   r   p  s     ) ) ) )r   c                L    \         P                  ! R\        ^R7       Wn        R# )rA  z=session.requote_redirect_url modification is deprecated #2778r   N)r   r   r   r   )r	  r  s   &&r   r   rB  o  s!     	K	

 &)"r   c                4   < V ^8  d   QhRS[ P                  /# r0  )r   r   )r   r   s   "r   r   r   z  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.loopy  s%     	02DQR	
 zzr   c                    < V ^8  d   QhRS[ /# r0  )ri   )r   r   s   "r   r   r     s       r   c                    V P                   # )zTimeout for the session.)r   r-  s   &r   r   ClientSession.timeout  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[,          /# r0  )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[,          /# r0  )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[ /# r0  )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[ /# r0  r1  )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  rN  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[ /# r0  r1  )r   r   s   "r   r   r     rY  r   c                    V P                   # )z7Should the body response be automatically decompressed.)r   r-  s   &r   r   ClientSession.auto_decompress  rN  r   c                    < V ^8  d   QhRS[ /# r0  r1  )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[,          /# r0  )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.
Nr6  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   rT  r   )r   r   s   "r   r   r     sG      4./ -( '	
 
r   c                    R # r   r   r	  rs  rt  ru  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/# rr  rv  )r   r   s   "r   r   r     sG      4./ -( '	
 
r   c                B   "   V P                  4       G R j  xL
  R #  L5ir   )rU  rx  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     N  	 6 67>O P '.Q 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   rC  rB   rC   rH   r   HttpVersion11rX   r  r  rQ   r  r   r)  r  version_infor   r2  r;  r6  r   r~  r  r  ra  rk  r  r  r  r  r  r
  r  rU  propertyr$  r   r   r   r   setterr   r   rt   ru   rv   r   r   r|   r   r   r   rj  ro  ry  r}  r  r   r   r   __classcell__)r  r   s   @@r   rh   rh      s    9 	
 	
 	
   	
 	 	

  	
  	
  	
  	
  	
  	
 $ 	
  	
   	
  	
  	
  ! 	
" !# 	
$ % 	
& ' 	
( !) 	
* + 	
, - 	
. / 	
0 1 	
2 3 	
4 5 	
6 7 	
8 "9 	
:  ; 	
< = 	
> #? 	
"EH ;?*.J^( .2	^(
 59^( +/^( +/^( %)^( +/^( 6:^( %)^( '+jj^( .;^( 0>^( <S^(   $11!^(" 37#^($ !%%^(* +^(, 19-^(. )-/^(0 191^(2 !%3^(4  5^(6 &*7^(8 6:9^(: ";^(< "=^(> #?^(@ A^(B 7KC^(D 79E^(F ?GG^( ^(@
 
 	+ 	+ (0 	7 	7 7"}	+ 	+	P 	P G
 G G G +/G +/G 6:G %)G !%G  G ,0G #'G   !G& 'G(  $)G* %)+G, +/-G. 4</G0 &*1G2 (,3G4 -15G6 597G8 *.9G: 15;G< :>=G> '+?G@ +/AGB (,CGD )-EGF &*GGH AEIG GR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   M'  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  rR  )r	  r  s   &&r   rR  _BaseRequestContextManager.send  s    zzs##r   c                *   < V ^8  d   QhRS[ RS[ RR/# )ro   rs  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	  rs  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  rU  r-  s   &r   rU   _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[ /# r0  )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  _respr}  r-  s   &r   r}  %_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   rs  rW  tbr   Nrv  )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	  rs  rW  r  s   &&&&r   r  $_BaseRequestContextManager.__aexit__  s!      jj""8"555s    +)+)r  r  N)r   r   r   r   	__slots__r  rR  r  rU  r  r  r}  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  NrF  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  rF  s   &&&r   r  &_SessionRequestContextManager.__init__  s    
 
/3
r   c                    < V ^8  d   QhRS[ /# r0  )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  rT  r  rU  r-  s   &r   r}  (_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  rv  )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  rU  r  r  s   &&&&r   r  '_SessionRequestContextManager.__aexit__  s=      zz%%%

mm!!###s   AA
AAr  N)
r   r   r   r   r  r  r}  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   r2  r2  $  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   0  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  r6  )r-  r.  r   r   r   r'  r   rF  s   &&$$$,  r   r2  r2  0  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}% TA 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   r2  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  rg  r   rA  r   r   rh   r  r/  r  r  r  r2  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 l l^'!63X+=!>@Q !6H 4NC 56MN $ $B w=,  $11	,
 .2, 59, ,>
  $11	>

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