← back to Atmos Game
assets/gen/.venv/lib/python3.12/site-packages/httpx/__pycache__/_status_codes.cpython-312.pyc
48 lines
�
c�bj � � � d dl mZ d dlmZ dgZ G d� de� ZeD ]* Z eeej j � e
e� � �, y)� )�annotations)�IntEnum�codesc � � e Zd ZdZdJdKd�ZdLd�ZedMd�� ZedNd�� ZedNd�� Z edNd�� Z
edNd�� ZedNd �� ZedNd
�� Z
dZdZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"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@ZCdAZDdBZEdCZFdDZGdEZHdFZIdGZJdHZKyI)Or aG HTTP status codes and reason phrases
Status codes from the following RFCs are all observed:
* RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616
* 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 7238: Permanent Redirect
* 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)�cls�valuer �objs �j/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/httpx/_status_codes.pyr
z
codes.__new__ s% � ��k�k�#�u�%�������
��
� c �, � t | j � S r )�strr )�selfs r �__str__z
codes.__str__# s � ��4�:�:��r c �L � t |� j S # t $ r Y yw xY w)N� )r r �
ValueError�r
r s r �get_reason_phrasezcodes.get_reason_phrase&