Ë
    Eü´já  ã                  óì   — d dl mZ d dlZd dlmZmZ dgZddddd	œZ G d
„ de«      Z G d„ dee¬«      Z	e	j                  j                  «       D ]#  \  ZZ ee	ej                  «        ee«      «       Œ% y)é    )ÚannotationsN)ÚEnumMetaÚIntEnumÚcodesÚCONTENT_TOO_LARGEÚURI_TOO_LONGÚRANGE_NOT_SATISFIABLEÚUNPROCESSABLE_CONTENT)ÚREQUEST_ENTITY_TOO_LARGEÚREQUEST_URI_TOO_LONGÚREQUESTED_RANGE_NOT_SATISFIABLEÚUNPROCESSABLE_ENTITYc                  ó    ‡ — e Zd Zdˆ fd„Zˆ xZS )Ú
_CodesMetac                óŠ   •— |t         v r,t         |   }t        j                  d|› d|› d�t        d¬«       t        ‰| �  |«      S )Nú'z' is deprecated. Use 'z
' instead.é   )ÚcategoryÚ
stacklevel)Ú_DEPRECATED_CODESÚwarningsÚwarnÚDeprecationWarningÚsuperÚ__getattribute__)ÚclsÚnameÚnew_nameÚ	__class__s      €úR/root/workspace/ytshorts/venv/lib/python3.12/site-packages/httpx2/_status_codes.pyr   z_CodesMeta.__getattribute__   sM   ø€ ØÔ$Ñ$Ü(¨Ñ.ˆHÜ�M‰MØ�D�6Ð/°¨z¸ÐDÜ+Øõô
 ‰wÑ'¨Ó-Ð-ó    )r   ÚstrÚreturnÚobject)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__)r   s   @r    r   r      s   ø„ ÷.ñ .r!   r   c                  ó¨  — e Zd ZdZdJdKd„ZdLd„ZedMd„«       ZedNd„«       ZedNd„«       Z	edNd„«       Z
edNd„«       ZedNd	„«       ZedNd
„«       ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"d Z#d!Z$d"Z%d#Z&d$Z'd%Z(d&Z)d'Z*d(Z+d)Z,d*Z-d+Z.d,Z/d-Z0d.Z1d/Z2d0Z3d1Z4d2Z5d3Z6d4Z7d5Z8d6Z9d7Z:d8Z;d9Z<d:Z=d;Z>d<Z?d=Z@d>ZAd?ZBd@ZCdAZDdBZEdCZFdDZGdEZHdFZIdGZJdHZKe1ZLe2ZMe4ZNe8ZOyI)Or   a  HTTP status codes and reason phrases

    Status codes from the following RFCs are all observed:

        * RFC 9110: HTTP Semantics, obsoletes 7231 & 7238
        * RFC 6585: Additional HTTP Status Codes
        * RFC 3229: Delta encoding in HTTP
        * RFC 4918: HTTP Extensions for WebDAV, obsoletes 2518
        * RFC 5842: Binding Extensions to WebDAV
        * RFC 2295: Transparent Content Negotiation in HTTP
        * RFC 2774: An HTTP Extension Framework
        * RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2)
        * RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
        * RFC 7725: An HTTP Status Code to Report Legal Obstacles
        * RFC 8297: An HTTP Status Code for Indicating Hints
        * RFC 8470: Using Early Data in HTTP
    c                óN   — t         j                  | |«      }||_        ||_        |S ©N)ÚintÚ__new__Ú_value_Úphrase)r   Úvaluer/   Úobjs       r    r-   zcodes.__new__1   s%   € Ü�k‰k˜#˜uÓ%ˆØˆŒàˆŒ
Øˆ
r!   c                ó,   — t        | j                  «      S r+   )r"   r0   )Úselfs    r    Ú__str__zcodes.__str__8   s   € Ü�4—:‘:‹Ðr!   c                óL   — 	 t        |«      j                  S # t        $ r Y yw xY w)NÚ )r   r/   Ú
ValueError©r   r0   s     r    Úget_reason_phrasezcodes.get_reason_phrase;   s)   € ð	Ü˜“<×&Ñ&Ð&øÜò 	Ùð	ús   ‚ —	#¢#c                ó"   — d|cxk  xr dk  S c S )zI
        Returns `True` for 1xx status codes, `False` otherwise.
        éd   éÇ   © r8   s     r    Úis_informationalzcodes.is_informationalB   ó   € ð
 �eÖ"˜sÑ"Ð"Ñ"Ð"r!   c                ó"   — d|cxk  xr dk  S c S )zI
        Returns `True` for 2xx status codes, `False` otherwise.
        éÈ   i+  r=   r8   s     r    Ú
is_successzcodes.is_successI   r?   r!   c                ó"   — d|cxk  xr dk  S c S )zI
        Returns `True` for 3xx status codes, `False` otherwise.
        é,  i�  r=   r8   s     r    Úis_redirectzcodes.is_redirectP   r?   r!   c                ó"   — d|cxk  xr dk  S c S )zI
        Returns `True` for 4xx status codes, `False` otherwise.
        é�  ió  r=   r8   s     r    Úis_client_errorzcodes.is_client_errorW   r?   r!   c                ó"   — d|cxk  xr dk  S c S )zI
        Returns `True` for 5xx status codes, `False` otherwise.
        éô  éW  r=   r8   s     r    Úis_server_errorzcodes.is_server_error^   r?   r!   c                ó"   — d|cxk  xr dk  S c S )zP
        Returns `True` for 4xx or 5xx status codes, `False` otherwise.
        rG   rK   r=   r8   s     r    Úis_errorzcodes.is_errore   r?   r!   )r;   ÚContinue)ée   zSwitching Protocols)éf   Ú
Processing)ég   zEarly Hints)rA   ÚOK)éÉ   ÚCreated)éÊ   ÚAccepted)éË   zNon-Authoritative Information)éÌ   z
No Content)éÍ   zReset Content)éÎ   zPartial Content)éÏ   zMulti-Status)éÐ   zAlready Reported)éâ   zIM Used)rD   zMultiple Choices)i-  zMoved Permanently)i.  ÚFound)i/  z	See Other)i0  zNot Modified)i1  z	Use Proxy)i3  zTemporary Redirect)i4  zPermanent Redirect)rG   zBad Request)i‘  ÚUnauthorized)i’  zPayment Required)i“  Ú	Forbidden)i”  z	Not Found)i•  zMethod Not Allowed)i–  zNot Acceptable)i—  zProxy Authentication Required)i˜  zRequest Timeout)i™  ÚConflict)iš  ÚGone)i›  zLength Required)iœ  zPrecondition Failed)i�  zContent Too Large)iž  zURI Too Long)iŸ  zUnsupported Media Type)i   zRange Not Satisfiable)i¡  zExpectation Failed)i¢  zI'm a teapot)i¥  zMisdirected Request)i¦  zUnprocessable Content)i§  ÚLocked)i¨  zFailed Dependency)i©  z	Too Early)iª  zUpgrade Required)i¬  zPrecondition Required)i­  zToo Many Requests)i¯  zRequest Header Fields Too Large)iÃ  zUnavailable For Legal Reasons)rJ   zInternal Server Error)iõ  zNot Implemented)iö  zBad Gateway)i÷  zService Unavailable)iø  zGateway Timeout)iù  zHTTP Version Not Supported)iú  zVariant Also Negotiates)iû  zInsufficient Storage)iü  zLoop Detected)iþ  zNot Extended)iÿ  zNetwork Authentication RequiredN)r6   )r0   r,   r/   r"   r#   r   )r#   r"   )r0   r,   r#   r"   )r0   r,   r#   Úbool)Pr%   r&   r'   Ú__doc__r-   r4   Úclassmethodr9   r>   rB   rE   rH   rL   rN   ÚCONTINUEÚSWITCHING_PROTOCOLSÚ
PROCESSINGÚEARLY_HINTSrT   ÚCREATEDÚACCEPTEDÚNON_AUTHORITATIVE_INFORMATIONÚ
NO_CONTENTÚRESET_CONTENTÚPARTIAL_CONTENTÚMULTI_STATUSÚALREADY_REPORTEDÚIM_USEDÚMULTIPLE_CHOICESÚMOVED_PERMANENTLYÚFOUNDÚ	SEE_OTHERÚNOT_MODIFIEDÚ	USE_PROXYÚTEMPORARY_REDIRECTÚPERMANENT_REDIRECTÚBAD_REQUESTÚUNAUTHORIZEDÚPAYMENT_REQUIREDÚ	FORBIDDENÚ	NOT_FOUNDÚMETHOD_NOT_ALLOWEDÚNOT_ACCEPTABLEÚPROXY_AUTHENTICATION_REQUIREDÚREQUEST_TIMEOUTÚCONFLICTÚGONEÚLENGTH_REQUIREDÚPRECONDITION_FAILEDr   r   ÚUNSUPPORTED_MEDIA_TYPEr	   ÚEXPECTATION_FAILEDÚIM_A_TEAPOTÚMISDIRECTED_REQUESTr
   ÚLOCKEDÚFAILED_DEPENDENCYÚ	TOO_EARLYÚUPGRADE_REQUIREDÚPRECONDITION_REQUIREDÚTOO_MANY_REQUESTSÚREQUEST_HEADER_FIELDS_TOO_LARGEÚUNAVAILABLE_FOR_LEGAL_REASONSÚINTERNAL_SERVER_ERRORÚNOT_IMPLEMENTEDÚBAD_GATEWAYÚSERVICE_UNAVAILABLEÚGATEWAY_TIMEOUTÚHTTP_VERSION_NOT_SUPPORTEDÚVARIANT_ALSO_NEGOTIATESÚINSUFFICIENT_STORAGEÚLOOP_DETECTEDÚNOT_EXTENDEDÚNETWORK_AUTHENTICATION_REQUIREDr   r   r   r   r=   r!   r    r   r      s  „ ñô$óð òó ðð ò#ó ð#ð ò#ó ð#ð ò#ó ð#ð ò#ó ð#ð ò#ó ð#ð ò#ó ð#ð €HØ4ÐØ"€JØ$€Kð 
€BØ€GØ€HØ$HÐ!Ø"€JØ(€MØ,€OØ&€LØ.ÐØ€Gð /ÐØ0ÐØ€EØ €IØ&€LØ €IØ2ÐØ2Ðð %€KØ&€LØ.ÐØ €IØ €IØ2ÐØ*€NØ$HÐ!Ø,€OØ€HØ€DØ,€OØ4ÐØ0ÐØ&€LØ:ÐØ8ÐØ2ÐØ%€KØ4ÐØ8ÐØ€FØ0ÐØ €IØ.ÐØ8ÐØ0ÐØ&LÐ#Ø$HÐ!ð 9ÐØ,€OØ$€KØ4ÐØ,€OØ!BÐØ<ÐØ6ÐØ(€MØ&€LØ&LÐ#ð  1ÐØ'ÐØ&;Ð#Ø0Ñr!   )Ú	metaclass)Ú
__future__r   r   Úenumr   r   Ú__all__r   r   r   Ú__members__Úitemsr   ÚcodeÚsetattrÚlowerr,   r=   r!   r    ú<module>r«      s‚   ðÝ "ã ß "àˆ)€ð
 !4Ø*Ø'>Ø3ñ	Ð ô	.�ô 	.ôZ1ˆG˜zõ Z1ð| ×#Ñ#×)Ñ)Ó+ò ,�J€Dˆ$ÙˆE�4—:‘:“<¡ T£Õ+ñ,r!   