+
    õäûj¥"  ã                  ó
  € R t ^ RIHt ^ RIt^ RIHt ^ RIHt ]'       d	   ^RIH	t	H
t
 . RBO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 ! R. R ]4      t ! R/ R]4      t ! R0 R]4      t ! R1 R]4      t ! R2 R]4      t ! R3 R]4      t ! R4 R]4      t ! R5 R]4      t  ! R6 R
]4      t! ! R7 R]4      t" ! R8 R]4      t# ! R9 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+]PX                  RCR@ RA ll4       t-R# )Dul  
Our exception hierarchy:

* HTTPError
  x RequestError
    + TransportError
      - TimeoutException
        Â· ConnectTimeout
        Â· ReadTimeout
        Â· WriteTimeout
        Â· PoolTimeout
      - NetworkError
        Â· ConnectError
        Â· ReadError
        Â· WriteError
        Â· CloseError
      - ProtocolError
        Â· LocalProtocolError
        Â· RemoteProtocolError
      - ProxyError
      - UnsupportedProtocol
    + DecodingError
    + TooManyRedirects
  x HTTPStatusError
* InvalidURL
* CookieConflict
* StreamError
  x StreamConsumed
  x StreamClosed
  x ResponseNotRead
  x RequestNotRead
)ÚannotationsN)Ú	Generator)ÚTYPE_CHECKING)ÚRequestÚResponseÚ
CloseErrorÚConnectErrorÚConnectTimeoutÚCookieConflictÚDecodingErrorÚ	HTTPErrorÚHTTPStatusErrorÚ
InvalidURLÚLocalProtocolErrorÚNetworkErrorÚPoolTimeoutÚProtocolErrorÚ
ProxyErrorÚ	ReadErrorÚReadTimeoutÚRemoteProtocolErrorÚRequestErrorÚRequestNotReadÚResponseNotReadÚStreamClosedÚStreamConsumedÚStreamErrorÚTimeoutExceptionÚTooManyRedirectsÚTransportErrorÚUnsupportedProtocolÚ
WriteErrorÚWriteTimeoutc                  ó   € ] tR t^KtRtRtR# )ÚHTTPXDeprecationWarningaO  A custom deprecation warning for HTTPX.

Unlike the built-in `DeprecationWarning`, this inherits from `UserWarning` to ensure it is visible by default,
helping users discover deprecated features without needing to enable warnings explicitly.

Reference: https://sethmlarson.dev/deprecations-via-warnings-dont-work-for-python-libraries
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r%   ó    ÚNC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\httpx2\_exceptions.pyr$   r$   K   ó   † õr-   r$   c                  ór   a € ] tR t^UtRtR V 3R llt]R R l4       t]P                  R R l4       tRt	V ;t
# )	r   ad  
Base class for `RequestError` and `HTTPStatusError`.

Useful for `try...except` blocks when issuing a request,
and then calling `.raise_for_status()`.

For example:

```
try:
    response = httpx2.get("https://www.example.com")
    response.raise_for_status()
except httpx2.HTTPError as exc:
    print(f"HTTP Exception for {exc.request.url} - {exc}")
```
c               ó    € V ^8„  d   QhRRRR/# ©é   ÚmessageÚstrÚreturnÚNoner%   )Úformats   "r.   Ú__annotate__ÚHTTPError.__annotate__g   s   € ÷ -ñ - ð -¨ñ -r-   c                	ó4   <€ \         SV `  V4       R V n        R # ©N©ÚsuperÚ__init__Ú_request©Úselfr4   Ú	__class__s   &&€r.   r?   ÚHTTPError.__init__g   s   ø€ Ü‰Ñ˜Ô!Ø(,ˆŽr-   c               ó   € V ^8„  d   QhRR/# )r3   r6   r   r%   )r8   s   "r.   r9   r:   l   s   € ÷ ñ ˜ñ r-   c                	óL   € V P                   f   \        R4      hV P                   # )Nz'The .request property has not been set.)r@   ÚRuntimeError)rB   s   &r.   ÚrequestÚHTTPError.requestk   s"   € à�=‰=Ò ÜÐHÓIÐIØ�}‰}Ðr-   c               ó    € V ^8„  d   QhRRRR/# )r3   rH   r   r6   r7   r%   )r8   s   "r.   r9   r:   r   s   € ÷  ñ  ˜wð  ¨4ñ  r-   c                	ó   € Wn         R # r<   ©r@   )rB   rH   s   &&r.   rH   rI   q   s   € àŽr-   rL   )r'   r(   r)   r*   r+   r?   ÚpropertyrH   Úsetterr,   Ú__classcell__©rC   s   @r.   r   r   U   s>   ø† ñ÷"-ð -ð ôó ðð
 ‡^�^ô ó ö r-   c                  ó:   a € ] tR t^vtRtRR/R V 3R llltRtV ;t# )r   zK
Base class for all exceptions that may occur when issuing a `.request()`.
rH   Nc               ó$   € V ^8„  d   QhRRRRRR/# )r3   r4   r5   rH   úRequest | Noner6   r7   r%   )r8   s   "r.   r9   ÚRequestError.__annotate__{   s!   € ÷  ñ   ð  °ð  È4ñ  r-   c               	ó2   <€ \         SV `  V4       W n        R # r<   r=   )rB   r4   rH   rC   s   &&$€r.   r?   ÚRequestError.__init__{   s   ø€ Ü‰Ñ˜Ô!ð  Žr-   rL   ©r'   r(   r)   r*   r+   r?   r,   rO   rP   s   @r.   r   r   v   s   ø† ñð À$÷  ÷  ð  r-   c                  ó   € ] tR t^†tRtRtR# )r   zM
Base class for all exceptions that occur at the level of the Transport API.
r%   Nr&   r%   r-   r.   r   r   †   ó   † õr-   c                  ó   € ] tR t^�tRtRtR# )r   zA
The base class for timeout errors.

An operation has timed out.
r%   Nr&   r%   r-   r.   r   r   �   ó   † õr-   c                  ó   € ] tR t^—tRtRtR# )r	   z)
Timed out while connecting to the host.
r%   Nr&   r%   r-   r.   r	   r	   —   rY   r-   c                  ó   € ] tR t^�tRtRtR# )r   z/
Timed out while receiving data from the host.
r%   Nr&   r%   r-   r.   r   r   �   rY   r-   c                  ó   € ] tR t^£tRtRtR# )r"   z+
Timed out while sending data to the host.
r%   Nr&   r%   r-   r.   r"   r"   £   rY   r-   c                  ó   € ] tR t^©tRtRtR# )r   z:
Timed out waiting to acquire a connection from the pool.
r%   Nr&   r%   r-   r.   r   r   ©   rY   r-   c                  ó   € ] tR t^²tRtRtR# )r   zc
The base class for network-related errors.

An error occurred while interacting with the network.
r%   Nr&   r%   r-   r.   r   r   ²   r[   r-   c                  ó   € ] tR t^ºtRtRtR# )r   z*
Failed to receive data from the network.
r%   Nr&   r%   r-   r.   r   r   º   rY   r-   c                  ó   € ] tR t^ÀtRtRtR# )r!   z*
Failed to send data through the network.
r%   Nr&   r%   r-   r.   r!   r!   À   rY   r-   c                  ó   € ] tR t^ÆtRtRtR# )r   z#
Failed to establish a connection.
r%   Nr&   r%   r-   r.   r   r   Æ   rY   r-   c                  ó   € ] tR t^ÌtRtRtR# )r   z
Failed to close a connection.
r%   Nr&   r%   r-   r.   r   r   Ì   rY   r-   c                  ó   € ] tR t^ÕtRtRtR# )r   z:
An error occurred while establishing a proxy connection.
r%   Nr&   r%   r-   r.   r   r   Õ   rY   r-   c                  ó   € ] tR t^ÛtRtRtR# )r    zt
Attempted to make a request to an unsupported protocol.

For example issuing a request to `ftp://www.example.com`.
r%   Nr&   r%   r-   r.   r    r    Û   r[   r-   c                  ó   € ] tR t^ãtRtRtR# )r   z
The protocol was violated.
r%   Nr&   r%   r-   r.   r   r   ã   rY   r-   c                  ó   € ] tR t^étRtRtR# )r   zÒ
A protocol was violated by the client.

For example if the user instantiated a `Request` instance explicitly,
failed to include the mandatory `Host:` header, and then issued it directly
using `client.send()`.
r%   Nr&   r%   r-   r.   r   r   é   r/   r-   c                  ó   € ] tR t^ótRtRtR# )r   zR
The protocol was violated by the server.

For example, returning malformed HTTP.
r%   Nr&   r%   r-   r.   r   r   ó   r[   r-   c                  ó   € ] tR t^þtRtRtR# )r   z?
Decoding of the response failed, due to a malformed encoding.
r%   Nr&   r%   r-   r.   r   r   þ   rY   r-   c                  ó   € ] tR tRtRtRtR# )r   i  z
Too many redirects.
r%   Nr&   r%   r-   r.   r   r     rY   r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   i  zp
The response had an error HTTP status of 4xx or 5xx.

May be raised when calling `response.raise_for_status()`
c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r3   r4   r5   rH   r   Úresponser   r6   r7   r%   )r8   s   "r.   r9   ÚHTTPStatusError.__annotate__  s)   € ÷ !ñ ! ð !°ð !ÀHð !ÐQUñ !r-   c               	ó>   <€ \         SV `  V4       W n        W0n        R # r<   )r>   r?   rH   rn   )rB   r4   rH   rn   rC   s   &&$$€r.   r?   ÚHTTPStatusError.__init__  s   ø€ Ü‰Ñ˜Ô!ØŒØ Žr-   )rH   rn   rW   rP   s   @r.   r   r     s   ø† ñ÷!ö !r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   i  z/
URL is improperly formed or cannot be parsed.
c               ó    € V ^8„  d   QhRRRR/# r2   r%   )r8   s   "r.   r9   ÚInvalidURL.__annotate__  ó   € ÷ "ñ " ð "¨ñ "r-   c                	ó&   <€ \         SV `  V4       R # r<   ©r>   r?   rA   s   &&€r.   r?   ÚInvalidURL.__init__  ó   ø€ Ü‰Ñ˜Ö!r-   r%   rW   rP   s   @r.   r   r     s   ø† ñ÷"ö "r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r
   i#  zz
Attempted to lookup a cookie by name, but multiple cookies existed.

Can occur when calling `response.cookies.get(...)`.
c               ó    € V ^8„  d   QhRRRR/# r2   r%   )r8   s   "r.   r9   ÚCookieConflict.__annotate__*  ru   r-   c                	ó&   <€ \         SV `  V4       R # r<   rw   rA   s   &&€r.   r?   ÚCookieConflict.__init__*  ry   r-   r%   rW   rP   s   @r.   r
   r
   #  s   ø† ñ÷"ö "r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   i4  zw
The base class for stream exceptions.

The developer made an error in accessing the request stream in
an invalid way.
c               ó    € V ^8„  d   QhRRRR/# r2   r%   )r8   s   "r.   r9   ÚStreamError.__annotate__<  ru   r-   c                	ó&   <€ \         SV `  V4       R # r<   rw   rA   s   &&€r.   r?   ÚStreamError.__init__<  ry   r-   r%   rW   rP   s   @r.   r   r   4  s   ø† ñ÷"ö "r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   i@  zQ
Attempted to read or stream content, but the content has already
been streamed.
c               ó   € V ^8„  d   QhRR/# ©r3   r6   r7   r%   )r8   s   "r.   r9   ÚStreamConsumed.__annotate__F  s   € ÷ 	"ñ 	"˜$ñ 	"r-   c                	ó*   <€ R p\         SV `  V4       R# )a]  Attempted to read or stream some content, but the content has already been streamed. For requests, this could be due to passing a generator as request content, and then receiving a redirect response or a secondary request as part of an authentication flow.For responses, this could be due to attempting to stream the response content more than once.Nrw   rA   s   & €r.   r?   ÚStreamConsumed.__init__F  s   ø€ ð&ð 	ô 	‰Ñ˜Ö!r-   r%   rW   rP   s   @r.   r   r   @  s   ø† ñ÷
	"ö 	"r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   iR  zP
Attempted to read or stream response content, but the request has been
closed.
c               ó   € V ^8„  d   QhRR/# r†   r%   )r8   s   "r.   r9   ÚStreamClosed.__annotate__X  ó   € ÷ "ñ "˜$ñ "r-   c                	ó*   <€ R p\         SV `  V4       R# )zDAttempted to read or stream content, but the stream has been closed.Nrw   rA   s   & €r.   r?   ÚStreamClosed.__init__X  s   ø€ ØXˆÜ‰Ñ˜Ö!r-   r%   rW   rP   s   @r.   r   r   R  s   ø† ñ÷
"ö "r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   i]  zQ
Attempted to access streaming response content, without having called `read()`.
c               ó   € V ^8„  d   QhRR/# r†   r%   )r8   s   "r.   r9   ÚResponseNotRead.__annotate__b  r�   r-   c                	ó*   <€ R p\         SV `  V4       R# )zOAttempted to access streaming response content, without having called `read()`.Nrw   rA   s   & €r.   r?   ÚResponseNotRead.__init__b  s   ø€ ØcˆÜ‰Ñ˜Ö!r-   r%   rW   rP   s   @r.   r   r   ]  ó   ø† ñ÷"ö "r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   ig  zP
Attempted to access streaming request content, without having called `read()`.
c               ó   € V ^8„  d   QhRR/# r†   r%   )r8   s   "r.   r9   ÚRequestNotRead.__annotate__l  r�   r-   c                	ó*   <€ R p\         SV `  V4       R# )zNAttempted to access streaming request content, without having called `read()`.Nrw   rA   s   & €r.   r?   ÚRequestNotRead.__init__l  s   ø€ ØbˆÜ‰Ñ˜Ö!r-   r%   rW   rP   s   @r.   r   r   g  r•   r-   c               ó    € V ^8„  d   QhRRRR/# )r3   rH   rS   r6   zGenerator[None]r%   )r8   s   "r.   r9   r9   r  s   € ÷ 
ñ 
˜^ð 
°ñ 
r-   c              #  óV   "  €  Rx € R#   \          d   pT e   Yn        ThRp?ii ; i5i)z‹
A context manager that can be used to attach the given request context
to any `RequestError` exceptions that are raised within the block.
N)r   rH   )rH   Úexcs   & r.   Úrequest_contextrž   q  s,   é € ðÝøÜô ØÒØ!ŒKØˆ	ûðüs   ‚)„
 ˆ)Š&•!¡&¦))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+   Ú
__future__r   Ú
contextlibÚcollections.abcr   Útypingr   Ú_modelsr   r   Ú__all__ÚUserWarningr$   Ú	Exceptionr   r   r   r   r	   r   r"   r   r   r   r!   r   r   r   r    r   r   r   r   r   r   r   r
   rG   r   r   r   r   r   Úcontextmanagerrž   r%   r-   r.   Ú<module>r¨      s¢  ðñõB #ã Ý %Ý  çß*ò€ô@˜kô ô �	ô  ôB �9ô  ô �\ô ô�~ô ôÐ%ô ôÐ"ô ôÐ#ô ôÐ"ô ô�>ô ô�ô ô�ô ô�<ô ô�ô ô�ô ô˜.ô ô�Nô ô˜ô ô˜-ô ô�Lô ô�|ô ô
!�iô 
!ô"�ô "ô"�Yô "ô"	"�,ô 	"ô"�[ô "ô$"�;ô "ô"�kô "ô"�[ô "ð ×Ñö
ó ò
r-   