Your IP : 3.147.51.72


Current Path : /opt/alt/python312/lib64/python3.12/http/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/http/__pycache__/__init__.cpython-312.opt-2.pyc

�

�Q�ft ��t�ddlmZmZmZddgZee�Gd�d��Zee�Gd�d��Zy)�)�StrEnum�IntEnum�_simple_enum�
HTTPStatus�
HTTPMethodc�^�eZdZ	dFd�Zed��Zed��Zed��Zed��Zed��Z	dZ
dZd	Zd
Z
dZdZd
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@ZCdAZDdBZEdCZFdDZGyE)Grc�\�tj||�}||_||_||_|S�N)�int�__new__�_value_�phrase�description)�cls�valuerr�objs     �4/opt/alt/python312/lib64/python3.12/http/__init__.pyrzHTTPStatus.__new__s,���k�k�#�u�%�������
�%����
�c�"�d|cxkxrdkScS)N�d�����selfs r�is_informationalzHTTPStatus.is_informational"����d�!�c�!�!�!�!rc�"�d|cxkxrdkScS)N��i+rrs r�
is_successzHTTPStatus.is_success&rrc�"�d|cxkxrdkScS)N�,i�rrs r�is_redirectionzHTTPStatus.is_redirection*rrc�"�d|cxkxrdkScS)N�i�rrs r�is_client_errorzHTTPStatus.is_client_error.rrc�"�d|cxkxrdkScS)N��iWrrs r�is_server_errorzHTTPStatus.is_server_error2rr)r�Continuez!Request received, please continue)�ezSwitching Protocolsz.Switching to new protocol; obey Upgrade header)�f�
Processing)�gzEarly Hints)r�OKz#Request fulfilled, document follows)���CreatedzDocument created, URL follows)���Acceptedz/Request accepted, processing continues off-line)��zNon-Authoritative InformationzRequest fulfilled from cache)��z
No Contentz"Request fulfilled, nothing follows)��z
Reset Contentz"Clear input form for further input)��zPartial ContentzPartial content follows)��zMulti-Status)��zAlready Reported)��zIM Used)r!zMultiple Choicesz,Object has several resources -- see URI list)i-zMoved Permanently�(Object moved permanently -- see URI list)i.�Found�(Object moved temporarily -- see URI list)i/z	See Otherz'Object moved -- see Method and URL list)i0zNot Modifiedz)Document has not changed since given time)i1z	Use Proxyz@You must use proxy specified in Location to access this resource)i3zTemporary Redirectr<)i4zPermanent Redirectr:)r$zBad Requestz(Bad request syntax or unsupported method)i��Unauthorizedz*No permission -- see authorization schemes)i�zPayment Requiredz"No payment -- see charging schemes)i��	Forbiddenz0Request forbidden -- authorization will not help)i�z	Not FoundzNothing matches the given URI)i�zMethod Not Allowedz-Specified method is invalid for this resource)i�zNot Acceptablez%URI not available in preferred format)i�zProxy Authentication Requiredz7You must authenticate with this proxy before proceeding)i�zRequest Timeoutz"Request timed out; try again later)i��ConflictzRequest conflict)i��Gonez5URI no longer exists and has been permanently removed)i�zLength Requiredz"Client must specify Content-Length)i�zPrecondition Failedz Precondition in headers is false)i�zRequest Entity Too LargezEntity is too large)i�zRequest-URI Too LongzURI is too long)i�zUnsupported Media Typez!Entity body in unsupported format)i�zRequested Range Not SatisfiablezCannot satisfy request range)i�zExpectation Failedz'Expect condition could not be satisfied)i�zI'm a Teapotz5Server refuses to brew coffee because it is a teapot.)i�zMisdirected Requestz(Server is not able to produce a response)i�zUnprocessable Entity)i��Locked)i�zFailed Dependency)i�z	Too Early)i�zUpgrade Required)i�zPrecondition Requiredz8The origin server requires the request to be conditional)i�zToo Many RequestszOThe user has sent too many requests in a given amount of time ("rate limiting"))i�zRequest Header Fields Too LargezVThe server is unwilling to process the request because its header fields are too large)i�zUnavailable For Legal ReasonszOThe server is denying access to the resource as a consequence of a legal demand)r'zInternal Server ErrorzServer got itself in trouble)i�zNot Implementedz&Server does not support this operation)i�zBad Gatewayz+Invalid responses from another server/proxy)i�zService Unavailablez8The server cannot process the request due to a high load)i�zGateway Timeoutz4The gateway server did not receive a timely response)i�zHTTP Version Not SupportedzCannot fulfill request)i�zVariant Also Negotiates)i�zInsufficient Storage)i�z
Loop Detected)i�zNot Extended)i�zNetwork Authentication Requiredz7The client needs to authenticate to gain network accessN)�)H�__name__�
__module__�__qualname__r�propertyrrr"r%r(�CONTINUE�SWITCHING_PROTOCOLS�
PROCESSING�EARLY_HINTSr.�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_FAILED�REQUEST_ENTITY_TOO_LARGE�REQUEST_URI_TOO_LONG�UNSUPPORTED_MEDIA_TYPE�REQUESTED_RANGE_NOT_SATISFIABLE�EXPECTATION_FAILED�IM_A_TEAPOT�MISDIRECTED_REQUEST�UNPROCESSABLE_ENTITY�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_REQUIREDrrrrrs ���$��"��"��"��"��"��"��"��"��"��"�D�H�>��"�J�$�K�
:�B�=�G�;�H�%I�!�H�J�N�M�G�O�&�L�.���G�8��4��D�E�K�I�5�L�L�I�4��4��4�K�6�L�.��<�I�)�I�9��1�N�%C�!�.�O�2�H�A�D�.�O�,�� ����-��'(�#�3��A�K�4��6��
�F�0�� �I�.��D��4��' �#�%7�!�(��2�O�7�K�D��@�O�""��<��6��(�M�&�L�'C�#rc�>�eZdZ	d�Zd�ZdZdZdZdZdZ	dZ
d	Zd
ZdZ
y)
rc�N�tj||�}||_||_|Sr
)�strrr
r)rrrrs    rrzHTTPMethod.__new__�s%���k�k�#�u�%�����%����
rc�P�d|jj�d|j�d�S)N�<�.�>)�	__class__rC�_name_rs r�__repr__zHTTPMethod.__repr__�s�� �N�N�3�3�T�[�[�A�Ar)�CONNECTz%Establish a connection to the server.)�DELETEzRemove the target.)�GETzRetrieve the target.)�HEADzBSame as GET, but only retrieve the status line and header section.)�OPTIONSz2Describe the communication options for the target.)�PATCHz(Apply partial modifications to a target.)�POSTz<Perform target-specific processing with the request payload.)�PUTz,Replace the target with the request payload.)�TRACEz>Perform a message loop-back test along the path to the target.N)rCrDrErr�r�r�r�r�r�r�r�r�r�rrrrr�sB����B�A�G�
+�F�
'�C�W�D�M�G�?�E�Q�D�
?�C�U�ErN)�enumrrr�__all__rrrrr�<module>r�s[��/�/���
&���g��dC�dC��dC�N�g��V�V��Vr

?>