+
    i #                      a  0 t $ ^ RIHt ^ RIt^ RIt^ RIHt ^ RIHt ^RIH	t	 ^RI
HtHtHt ^RIHt ^RIHt ^R	IHt ^R
IHtHt ^RIHt ^RIHtHtHtHt ^RIHt ^RIH t H!t! ]PD                  '       d	   ^RIH#t#H$t$  ! R R4      t% ! R R]%4      t&]PD                  '       d   ]%! R^ 4      t'R](R&   ]&! R^ 4      t)R](R&   R# R# )    )annotationsN)HTTPException)ResponseNotReady)
_TYPE_BODY)HTTPConnectionProxyConfigport_by_scheme)TimeoutError)BaseHTTPResponse)_TYPE_SOCKET_OPTIONS)_DEFAULT_TIMEOUT_TYPE_TIMEOUT)Url)_RequestError_TimeoutErrorsend_requestsend_streaming_request)EmscriptenRequest)EmscriptenHttpResponseWrapperEmscriptenResponse)BaseHTTPConnectionBaseHTTPSConnectionc                     ] tR t^t$ ]R,          tR]R&   R]R&   R]R&   R]R	&   R
]R&   R
]R&   R]R&   R]R&   R]R&   R]R&   RtR]R&   RtR]R&   ]	t
R]R&   R]R&   R8R]RRRRRRRRRR/R  R! llltR9R" R# lltR$ R% ltR:R&RR'R(R)R(R*R(/R+ R, llltR- R. ltR/ R0 lt]R1 R2 l4       t]R3 R4 l4       t]R5 R6 l4       tR7tR# );EmscriptenHTTPConnectionhttpztyping.ClassVar[int]default_portz%typing.ClassVar[_TYPE_SOCKET_OPTIONS]default_socket_optionszNone | floattimeoutstrhostintport	blocksizetuple[str, int] | Nonesource_address_TYPE_SOCKET_OPTIONS | Nonesocket_options
Url | NoneproxyProxyConfig | Noneproxy_configFboolis_verifiedNzbool | Noneproxy_is_verifiedztype[BaseHTTPResponse]response_classzEmscriptenResponse | None	_responsei    c               <    V ^8  d   QhRRRRRRRRR	RR
RRRRRRR/	# )   r    r   r"   r!   r   r   r%   r$   r#   r'   r&   r)   r(   r+   r*   returnNone )formats   "k/Users/ahmad/.openclaw/workspace/venv/lib/python3.14/site-packages/urllib3/contrib/emscripten/connection.py__annotate__%EmscriptenHTTPConnection.__annotate__.   sd     ! !! !
 ! /! ! 4! ! )! 
!    c               	    Wn         W n        \        V\        4      '       d   TMR V n        RV n        RV n        RV n        RV n        RV n	        WPn
        RV n        RV n        RV n        R# )g        r   TNF)r    r"   
isinstancefloatr   scheme_closedr0   r)   r+   r#   r%   r'   r-   )	selfr    r"   r   r%   r#   r'   r)   r+   s	   &&&$$$$$$r7   __init__!EmscriptenHTTPConnection.__init__.   sf     		",We"<"<w# 
 """ r:   c          
     ,    V ^8  d   QhRRRRRRRRRR	/# )
r2   r    r   r"   
int | Noneheaderstyping.Mapping[str, str] | Noner>   r3   r4   r5   )r6   s   "r7   r8   r9   I   s<        1	
  
r:   c                	    R # Nr5   )r@   r    r"   rE   r>   s   &&&&&r7   
set_tunnel#EmscriptenHTTPConnection.set_tunnelI   s     	r:   c                   V ^8  d   QhRR/# r2   r3   r4   r5   )r6   s   "r7   r8   r9   R   s       r:   c                	    R # rH   r5   r@   s   &r7   connect EmscriptenHTTPConnection.connectR   s    r:   chunkedpreload_contentTdecode_contentenforce_content_lengthc               <    V ^8  d   QhRRRRRRRRRR	R
R	RR	RR	RR/	# )r2   methodr   urlbodyz_TYPE_BODY | NonerE   rF   rQ   r,   rR   rS   rT   r3   r4   r5   )r6   s   "r7   r8   r9   U   sd     *2 *2*2 *2  	*2
 1*2 *2 *2 *2 !%*2 
*2r:   c               	   R V n         VP                  R4      '       d@   V P                  e   RV P                   2p	MRp	V P                   RV P                   V	 V 2p\        TTV P                  '       d   V P                  M^ VR7      p
V
P                  V4       V'       d+   VP                  4        F  w  rV
P                  W4       K  	  RV n
         V'       g   \        V
4      V n
        V P                  f   \        V
4      V n
        R# R#   \         d   p\        TP                  4      ThRp?i\          d   p\#        TP                  4      ThRp?ii ; i)F/N: z://)rW   rV   r   rS   )r?   
startswithr"   r>   r    r   r   set_bodyitems
set_headerr0   r   r   r   r
   messager   r   )r@   rV   rW   rX   rE   rQ   rR   rS   rT   r"   requestkves   &&&&&$$$$     r7   rb    EmscriptenHTTPConnection.requestU   s     >>#yy$499+[[MTYYKvcU;C#$(LLLDLLa)	
 	""1( (	2"!7!@~~%!-g!6 & 	1qyy)q0 	2		*1	2s0   D .D ED11E>E?EEc                   V ^8  d   QhRR/# )r2   r3   r   r5   )r6   s   "r7   r8   r9      s     % %- %r:   c                	    V P                   e7   \        V P                   V P                   P                  P                  V R7      # \	        4       h)N)internal_responserW   
connection)r0   r   rb   rW   r   rN   s   &r7   getresponse$EmscriptenHTTPConnection.getresponse   sA    >>%0"&..NN**..  #$$r:   c                   V ^8  d   QhRR/# rL   r5   )r6   s   "r7   r8   r9      s      t r:   c                	"    R V n         RV n        R# )TN)r?   r0   rN   s   &r7   closeEmscriptenHTTPConnection.close   s    r:   c                   V ^8  d   QhRR/# r2   r3   r,   r5   )r6   s   "r7   r8   r9      s      4 r:   c                    V P                   # )zWhether the connection either is brand new or has been previously closed.
If this property is True then both ``is_connected`` and ``has_connected_to_proxy``
properties must be False.
)r?   rN   s   &r7   	is_closed"EmscriptenHTTPConnection.is_closed   s     ||r:   c                   V ^8  d   QhRR/# rr   r5   )r6   s   "r7   r8   r9      s      d r:   c                    R# )zLWhether the connection is actively connected to any origin (proxy or target)Tr5   rN   s   &r7   is_connected%EmscriptenHTTPConnection.is_connected   s     r:   c                   V ^8  d   QhRR/# rr   r5   )r6   s   "r7   r8   r9      s       r:   c                    R# )zWhether the connection has successfully connected to its proxy.
This returns False if no proxy is in use. Used to determine whether
errors are coming from the proxy layer or from tunnelling to the target origin.
Fr5   rN   s   &r7   has_connected_to_proxy/EmscriptenHTTPConnection.has_connected_to_proxy   s     r:   )r?   r0   r#   r    r-   r"   r)   r+   r>   r'   r%   r   r   )r   Nr   )NN)__name__
__module____qualname____firstlineno__r	   r   __annotations__r-   r.   r   r/   r   rA   rI   rO   rb   rk   ro   propertyrt   rx   r|   __static_attributes__r5   r:   r7   r   r      s4   )7)?L&?AA
I
IN**//$$K%){)-JN*J((!
 "2! 26! ! 7;! !! ,0! !6*2 *2 !%*2  $*2 (,*2 *2X%      r:   r   c            )      `  a  ] tR t^t$ ]R,          tRtR]R&   RtR]R&   Rt	R]R&   Rt
R]R	&   R]R
&   R]R&   R]R&   R]R&   RtR]R&   RtR]R&   RtR]R&   R]R&   RtR]R&   R#R]RRRRR]P"                  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 V 3R lllltR$R  R! lltR"tV ;t# )%EmscriptenHTTPSConnectionhttpsNint | str | None	cert_reqs
str | Noneca_certsca_cert_dirNone | str | bytesca_cert_data	cert_filekey_filekey_passwordtyping.Any | Nonessl_contextssl_versionrD   ssl_minimum_versionssl_maximum_version"None | str | typing.Literal[False]assert_hostnameassert_fingerprintr   r%   r#   i @  r'   r)   r+   server_hostnamec          .     t    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRRRRRRRRRRRRRRRRRRR RR!RR"RR#RR$R%/# )&r2   r    r   r"   r!   r   r   r%   r$   r#   r'   zNone | _TYPE_SOCKET_OPTIONSr)   r(   r+   r*   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rD   r   r   r   r   r   r3   r4   r5   )r6   s   "r7   r8   &EmscriptenHTTPSConnection.__annotate__   s     :  : :  : 
 :  /:  :  (:  :  ):  $:  <:  ':   $!: " '#: $ %: &  ': ( )): * (+: , (-: . &/: 0 1: 2 3: 4 !5: 6 
7: r:   c               	  < \         SV `  VVVVVVVVR 7       RV n        VV n        VV n        VV n        Wn        Wn        Wn        Wn	        VV n
        VV n        VV n        T;'       d     \        P                  P                  V4      V n        T;'       d     \        P                  P                  V4      V n        VV n        RV n        RV n        R# ))r"   r   r%   r#   r'   r)   r+   r   NT)superrA   r>   r   r   r   r   r   r   r   r   r   r   ospath
expanduserr   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   	__class__s   &&&$$$$$$$$$$$$$$$$$$$$r7   rA   "EmscriptenHTTPSConnection.__init__   s    8 	))% 	 		
  "(&.."4&#6 #6  AARWW%7%7%A&JJ277+=+=k+J(  r:   c               @    V ^8  d   QhRRRRRRRRRRRR	R
RRRRRRR/
# )r2   r   r   r   r   r   r   r   r   r   r   r   r   r   r3   r4   r5   )r6   s   "r7   r8   r      sn        $	
 !  < '   ) 
r:   c
                	    R # rH   r5   )
r@   r   r   r   r   r   r   r   r   r   s
   &&&&&&&&&&r7   set_cert"EmscriptenHTTPSConnection.set_cert   s     	r:   )r   r   r   r   r   r   r   r-   r   r   r>   r   r   r   r   r   r~   )	NNNNNNNNN)r   r   r   r   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   rA   r   r   __classcell__)r   s   @r7   r   r      se   !'*L"&I&Hj"K"'+L$+""$(K!(&**&**77%)
): 
 "2:  26:  :  11:  !:  ,0:  '+:  ?C:  *.:   '+!: " *.#: $  $%: & #'': ( ,0): * +/+: , +/-: . )-/: 0 !%1: 2  $3: 4 $(5:  : x r:   r   r\   r   _supports_http_protocolr   _supports_https_protocol)*__conditional_annotations__
__future__r   r   typinghttp.clientr   r   _base_connectionr   rj   r   r   r	   
exceptionsr
   responser   util.connectionr   util.timeoutr   r   util.urlr   fetchr   r   r   r   rb   r   r   r   TYPE_CHECKINGr   r   r   r   r   r   r   )r   s   @r7   <module>r      s    " " 	  7 ( * E E & ( 3 ;  U U & G	KI IXY 8 Yz 
2J2q2Q/Q4MbRS4T1T r:   