+
     ]i&  c                  s:   ^ RI Ht ^ RIt^ RIt^ RIt^ RIHt ^ RIHt	 ]P                  '       d   ^RIHt ^RIHt ^RIHt ^RIHt  ! R	 R
]4      t ! R R]4      t]]P0                  R]3,          ]]R3,          3,          t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ] t! ! R R]4      t" ! R R]4      t# ! R R]4      t$ ! R  R!]4      t% ! R" R#]%]4      t& ! R$ R%]%4      t' ! R& R']']4      t( ! R( R)](4      t) ! R* R+]4      t* ! R, R-]4      t+ ! R. R/]4      t, ! R0 R1]-]4      t. ! R2 R3].4      t/ ! R4 R5].4      t0 ! R6 R7]4      t1 ! R8 R9]4      t2 ! R: R;]24      t3 ! R< R=]24      t4 ! R> R?]24      t5 ! R@ RA]24      t6 ! RB RC]4      t7 ! RD RE] ]-4      t8 ! RF RG]4      t9 ! RH RI]]	4      t ! RJ RK]]	4      t: ! RL RM]4      t; ! RN RO]<]04      t= ! RP RQ]-4      t> ! RR RS]4      t? ! RT RU]4      t@R# )Vi    )annotationsN)MessageDefect)IncompleteRead)HTTPConnection)ConnectionPool)HTTPResponse)Retryc                  s    ] tR t^tRtRtR# )	HTTPErrorz#Base exception used by this module. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       7/usr/lib/python3.14/site-packages/urllib3/exceptions.pyr   r      s    -r   r   c                  s    ] tR t^tRtRtR# )HTTPWarningz!Base warning used by this module.r   Nr	   r   r   r   r   r      s    +r   r   .c                  s>   a  ] tR t^tRtR V 3R lltR R ltRtV ;t# )	PoolErrorz/Base exception for errors caused within a pool.c               $    V ^8  d   QhRRRRRR/# )   poolr   messagestrreturnNoner   Zformat   "r   __annotate__PoolError.__annotate__    !     / /^ /c /d /r   c                	H   < Wn         W n        \        SV `  V R V 24       R# z: N)r   _messagesuper__init__)selfr   r   	__class__   &&&r   r$   ZPoolError.__init__    %    	D6G9-.r   c                   V ^8  d   QhRR/# r   r   _TYPE_REDUCE_RESULTr   r   r   r   r   r   %        5 5/ 5r   c                	6    V P                   R V P                  33# Nr&   r"   r%      &r   
__reduce__ZPoolError.__reduce__%       ~~dmm444r   )r"   r   	r
   r   r   r   r   r$   r2   r   __classcell__r&      @r   r   r      s    9/ /
5 5r   r   c                  s>   a  ] tR t^*tRtR V 3R lltR R ltRtV ;t# )RequestErrorz8Base exception for PoolErrors that have associated URLs.c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r   url
str | Noner   r   r   r   r   r   r   r   r   RequestError.__annotate__-   s(     ( (^ (* (s (t (r   c                	s2   < W n         \        SV `	  W4       R # r.   )r:   r#   r$   )r%   r   r:   r   r&   s   &&&&r   r$   ZRequestError.__init__-   s    'r   c               r)   r*   r   r   r   r   r   r<   1   s     ? ?/ ?r   c                	L    V P                   R V P                  V P                  33# r.   )r&   r:   r"   r0   r1   r   r2   ZRequestError.__reduce__1   s     ~~dhh>>>r   )r:   r4   r6   r7   r   r8   r8   *   s    B( (? ?r   r8   c                  s    ] tR t^6tRtRtR# )SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.r   Nr	   r   r   r   r>   r>   6       Cr   r>   c                  s>   a  ] tR t^:t$ RtR]R&   R V 3R lltRtV ;t# )
ProxyErrorz,Raised when the connection to a proxy fails.	Exceptionoriginal_errorc               r   )r   r   r   errorrA   r   r   r   r   r   r   r   ZProxyError.__annotate__@   s!     $ $ $I $$ $r   c                	s2   < \         SV `  W4       W n        R # r.   )r#   r$   rB   )r%   r   rC   r&   r'   r   r$   ZProxyError.__init__@   s    (#r   )rB   )	r
   r   r   r   r   __annotations__r$   r   r5   r6   r7   r   r@   r@   :   s    6 $ $r   r@   c                  s    ] tR t^EtRtRtR# )DecodeErrorz;Raised when automatic decoding based on Content-Type fails.r   Nr	   r   r   r   rE   rE   E       Er   rE   c                  s    ] tR t^ItRtRtR# )ProtocolErrorz>Raised when something unexpected happens mid-request/response.r   Nr	   r   r   r   rG   rG   I   s    Hr   rG   c                  sB   a  ] tR t^TtRtRR V 3R llltR R ltRtV ;t# )MaxRetryErrora  Raised when the maximum number of retries is exceeded.

:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param str url: The requested Url
:param reason: The underlying error
:type reason: :class:`Exception`

c               r9   )	r   r   r   r:   r;   reasonzException | Noner   r   r   r   r   r   r   MaxRetryError.__annotate___   s,     - -"-)3-=M-	-r   c                	sH   < W0n         R V RV: R2p\        SV `	  WV4       R# )zMax retries exceeded with url: z (Caused by )N)rI   r#   r$   )r%   r   r:   rI   r   r&      &&&& r   r$   ZMaxRetryError.__init___   s-     3C5VJaPG,r   c               r)   r*   r   r   r   r   r   rJ   h   s     = =/ =r   c                	r=   r.   )r&   r:   rI   r0   r1   r   r2   ZMaxRetryError.__reduce__h   s     ~~dhh<<<r   )rI   r.   r4   r6   r7   r   rH   rH   T   s    - -= =r   rH   c                  s6   a  ] tR t^mtRtRR V 3R llltRtV ;t# )HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.c               r9   )	r   r   r   r:   r   retrieszRetry | intr   r   r   r   r   r   r   ZHostChangedError.__annotate__p   s,      "),7B	r   c                	s>   < R V 2p\         SV `  WV4       W0n        R# )z'Tried to open a foreign host with url: N)r#   r$   rN   )r%   r   r:   rN   r   r&   rL   r   r$   ZHostChangedError.__init__p   s%     <C5AG,r   )rN   )i   r
   r   r   r   r   r$   r   r5   r6   r7   r   rM   rM   m   s    I  r   rM   c                  s    ] tR t^xtRtRtR# )TimeoutStateErrorz1Raised when passing an invalid state to a timeoutr   Nr	   r   r   r   rP   rP   x   s    ;r   rP   c                  s    ] tR t^|tRtRtR# )TimeoutErrorzRaised when a socket timeout error occurs.

Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
r   Nr	   r   r   r   rQ   rQ   |   s    r   rQ   c                  s    ] tR t^tRtRtR# )ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverr   Nr	   r   r   r   rR   rR      s    Pr   rR   c                  s    ] tR t^tRtRtR# )ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverr   Nr	   r   r   r   rS   rS      s    Jr   rS   c                  sT   a  ] tR t^tRtR V 3R lltR R lt]R R l4       tRt	V ;t
# )	NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.c               r   )r   connr   r   r   r   r   r   r   r   r   r   NewConnectionError.__annotate__   r   r   c                	r    r!   )rU   r"   r#   r$   )r%   rU   r   r&   r'   r   r$   ZNewConnectionError.__init__   r(   r   c               r)   r*   r   r   r   r   r   rV      r,   r   c                	r-   r.   r/   r0   r1   r   r2   ZNewConnectionError.__reduce__   r3   r   c               r)   )r   r   r   r   r   r   r   r   rV      s      n r   c                	sT    \         P                  ! R \        ^R7       V P                  # )z\The 'pool' property is deprecated and will be removed in urllib3 v2.1.0. Use 'conn' instead.)Z
stacklevel)warningsZwarnZDeprecationWarningrU   r0   r1   r   r   ZNewConnectionError.pool   s%    5		
 yyr   )r"   rU   )r
   r   r   r   r   r$   r2   Zpropertyr   r   r5   r6   r7   r   rT   rT      s)    R/ /
5  r   rT   c                  s>   a  ] tR t^tRtR V 3R lltR R ltRtV ;t# )NameResolutionErrorz'Raised when host name resolution fails.c               r   )r   hostr   rU   r   rI   zsocket.gaierrorr   r   r   r   r    NameResolutionError.__annotate__   s!     ( (S ( ( (r   c                	sP   < R V RV R2pWn         W0n        \        SV `  W$4       R# )zFailed to resolve 'z' (rK   N)_host_reasonr#   r$   )r%   rY   rU   rI   r   r&   rL   r   r$   ZNameResolutionError.__init__   s.    'vS:
'r   c               r)   r*   r   r   r   r   r   rZ      s     @ @/ @r   c                	sL    V P                   V P                  R V P                  33# r.   )r&   r[   r\   r0   r1   r   r2   ZNameResolutionError.__reduce__   s     ~~

D$,,???r   )r[   r\   r4   r6   r7   r   rX   rX      s    1( (@ @r   rX   c                  s    ] tR t^tRtRtR# )EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.r   Nr	   r   r   r   r]   r]          Mr   r]   c                  s    ] tR t^tRtRtR# )FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.r   Nr	   r   r   r   r_   r_      s    Qr   r_   c                  s    ] tR t^tRtRtR# )ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.r   Nr	   r   r   r   r`   r`      r^   r   r`   c                  s    ] tR t^tRtRtR# )LocationValueErrorz<Raised when there is something wrong with a given URL input.r   Nr	   r   r   r   ra   ra      s    Fr   ra   c                  s2   a  ] tR t^tRtR V 3R lltRtV ;t# )LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.c                    V ^8  d   QhRRRR/# )r   locationr   r   r   r   r   r   r   r   ZLocationParseError.__annotate__   s     ! ! ! !r   c                	<   < R V 2p\         SV `  V4       Wn        R# )zFailed to parse: N)r#   r$   rd   )r%   rd   r   r&      && r   r$   ZLocationParseError.__init__   s!    %hZ0! r   )rd   rO   r6   r7   r   rb   rb      s    G! !r   rb   c                  s2   a  ] tR t^tRtR V 3R lltRtV ;t# )URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.c               r)   )r   schemer   r   r   r   r   r   ZURLSchemeUnknown.__annotate__   s      s r   c                	re   )zNot supported URL scheme N)r#   r$   rh   r%   rh   r   r&   rf   r   r$   ZURLSchemeUnknown.__init__   s!    -fX6!r   )rh   rO   r6   r7   r   rg   rg      s    < r   rg   c                  s"    ] tR t^tRtRtRtRtR# )ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesr   N)r
   r   r   r   r   ZGENERIC_ERRORZSPECIFIC_ERRORr   r   r   r   rj   rj      s    N.M=Nr   rj   c                  s    ] tR t^tRtRtR# )SecurityWarningz0Warned when performing security reducing actionsr   Nr	   r   r   r   rk   rk          :r   rk   c                  s    ] tR t^tRtRtR# )InsecureRequestWarningz/Warned when making an unverified HTTPS request.r   Nr	   r   r   r   rm   rm      s    9r   rm   c                  s    ] tR t^tRtRtR# )NotOpenSSLWarningz)Warned when using unsupported SSL libraryr   Nr	   r   r   r   rn   rn      s    3r   rn   c                  s    ] tR t^tRtRtR# )SystemTimeWarningz0Warned when system time is suspected to be wrongr   Nr	   r   r   r   ro   ro      rl   r   ro   c                  s    ] tR t^tRtRtR# )InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.r   Nr	   r   r   r   rp   rp      s    Sr   rp   c                  s    ] tR t^tRtRtR# )DependencyWarningzW
Warned when an attempt is made to import a module with missing optional
dependencies.
r   Nr	   r   r   r   rq   rq          r   rq   c                  s    ] tR t^tRtRtR# )ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.r   Nr	   r   r   r   rs   rs      rF   r   rs   c                  s    ] tR t^tRtRtR# )BodyNotHttplibCompatiblez{
Body should be :class:`http.client.HTTPResponse` like
(have an fp attribute which returns raw chunks) for read_chunked().
r   Nr	   r   r   r   rt   rt      rr   r   rt   c                  sH    ] tR tRt$ RtR]R&   R]R&   R R ltR R	 ltR
tR# )r   i  z
Response length doesn't match expected Content-Length

Subclass of :class:`http.client.IncompleteRead` to allow int value
for ``partial`` to avoid creating large objects on streamed reads.
intpartialexpectedc               s$    V ^8  d   QhRRRRRR/# )r   rv   ru   rw   r   r   r   r   r   r   r   IncompleteRead.__annotate__  s!     ! ! !s !t !r   c                	s    Wn         W n        R # r.   rv   rw   )r%   rv   rw      &&&r   r$   ZIncompleteRead.__init__  s     r   c               r)   r   r   r   r   r   r   r   r   rx          
 
# 
r   c                	@    R V P                   V P                  3,          # )z/IncompleteRead(%i bytes read, %i more expected)ry   r0   r1   r   __repr__ZIncompleteRead.__repr__  s#    @LLMMD
 
 	
r   )rw   rv   N)	r
   r   r   r   r   rD   r$   r~   r   r   r   r   r   r     s"     LM!
 
r   r   c                  s2    ] tR tRtRtR R ltR R ltRtR# )	InvalidChunkLengthi  z+Invalid chunk length in a chunked response.c               r   )r   responser   lengthZbytesr   r   r   r   r   r   r   InvalidChunkLength.__annotate__  s!       u  r   c                	sj    VP                  4       V n        VP                  V n        Wn        W n        R # r.   )Ztellrv   Zlength_remainingrw   r   r   )r%   r   r   rz   r   r$   ZInvalidChunkLength.__init__  s&    $MMO$,$=$= r   c               r)   r{   r   r   r   r   r   r   $  r|   r   c                	r}   )z0InvalidChunkLength(got length %r, %i bytes read))r   rv   r0   r1   r   r~   ZInvalidChunkLength.__repr__$  s#    AKKLLE
 
 	
r   )rw   r   rv   r   N)r
   r   r   r   r   r$   r~   r   r   r   r   r   r     s    5
 
r   r   c                      ] tR tRtRtRtR# )InvalidHeaderi+  z(The header provided was somehow invalid.r   Nr	   r   r   r   r   r   +  s    2r   r   c                  2   a  ] tR tRtRtR V 3R lltRtV ;t# )ProxySchemeUnknowni/  z1ProxyManager does not support the supplied schemec               rc   )r   rh   r;   r   r   r   r   r   r   r   ZProxySchemeUnknown.__annotate__4  s     	" 	"z 	"d 	"r   c                	sR   < VR 8X  d   RpVf   RpMRV R2p\         SV `  V4       R# )Z	localhostNz>Proxy URL had no scheme, should start with http:// or https://z!Proxy URL had unsupported scheme z , should use http:// or https://r#   r$   ri   rf   r   r$   ZProxySchemeUnknown.__init__4  s8     [ F>VG9&AabG!r   r   rO   r6   r7   r   r   r   /  s    ;	" 	"r   r   c                  r   )ProxySchemeUnsupportedi@  z=Fetching HTTPS resources through HTTPS proxies is unsupportedr   Nr	   r   r   r   r   r   @  s    Gr   r   c                  r   )HeaderParsingErroriD  zNRaised by assert_header_parsing, but we convert it to a log.warning statement.c               r   )r   defectszlist[MessageDefect]unparsed_datazbytes | str | Noner   r   r   r   r   r   r   ZHeaderParsingError.__annotate__G  s$     " "*";M"	"r   c                	sJ   < T;'       g    R  RV: 2p\         SV `  V4       R# )ZUnknownz, unparsed data: Nr   )r%   r   r   r   r&   s   &&& r   r$   ZHeaderParsingError.__init__G  s-     ))	**;M;LM!r   r   rO   r6   r7   r   r   r   D  s    X" "r   r   c                  r   )UnrewindableBodyErroriN  z9urllib3 encountered an error when trying to rewind a bodyr   Nr	   r   r   r   r   r   N  r?   r   r   )AZ
__future__r    ZsocketZtypingrW   Zemail.errorsr   Zhttp.clientr   Zhttplib_IncompleteReadZTYPE_CHECKINGZ
connectionr   Zconnectionpoolr   r   r   Z
util.retryr   rA   r   ZWarningr   ZtupleZCallableZobjectr+   r   r8   r>   r@   rE   rG   ZConnectionErrorrH   rM   rP   rQ   rR   rS   rT   rX   r]   r_   r`   Z
ValueErrorra   rb   rg   rj   rk   rm   rn   ro   rp   rq   rs   rt   r   r   ZAssertionErrorr   r   r   r   r   r   r   <module>r      sW   "    & @	*.&!
.	 .,' , FOOCK8%:LLM 
5	 
5	?9 	?Dy D$ $F) FII I
  =L =2| <	 <9 Q|\ QK, K,i 0@, @NY NRI RNi NGY G!+ !) >I >;k ;:_ :4 4; ;To T F
 Fy 
Y 6 
,
$: 
 3I 3")9 ""HZ H" "DI Dr   