File: //lib/python3.12/http/__pycache__/__init__.cpython-312.pyc
�
    )!�ht   �                   �t   � d dl mZmZmZ ddgZ ee�       G d� d�      �       Z ee�       G d� d�      �       Zy)�    )�StrEnum�IntEnum�_simple_enum�
HTTPStatus�
HTTPMethodc                   �`  � e Zd ZdZdGd�Zed� �       Zed� �       Zed� �       Zed� �       Z	ed� �       Z
dZd	Zd
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@ZCdAZDdBZEdCZFdDZGdEZHyF)Hr   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 7725: An HTTP Status Code to Report Legal Obstacles
        * RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2)
        * RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
        * RFC 8297: An HTTP Status Code for Indicating Hints
        * RFC 8470: Using Early Data in HTTP
    c                 �\   � t         j                  | |�      }||_        ||_        ||_        |S �N)�int�__new__�_value_�phrase�description)�cls�valuer   r   �objs        �$/usr/lib/python3.12/http/__init__.pyr   zHTTPStatus.__new__   s,   � ��k�k�#�u�%�������
�%����
�    c                 �"