File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/requests/__pycache__/status_codes.cpython-310.pyc
Back
o ;j� � @ s� d a ddlmZ i dd�dd�dd�d d �dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�i d%d&�d'd(�d)d*�d+d,�d-d.�d/d0�d1d2�d3d4�d5d6�d7d8�d9d:�d;d<�d=d>�d?d@�dAdB�dCdD�dEdF��i dGdH�dIdJ�dKdL�dMdN�dOdP�dQdR�dSdT�dUdV�dWdX�dYdZ�d[d\�d]d^�d_d`�dadb�dcdd�dedf�dgdh��i didj�dkdl�dmdn�dodp�dqdr�dsdt�dudv�dwdx�dydz�d{d|�d}d~�dd��d�d��d�d��d�d��d�d��d�d���Zed�d��Zd�d�� Ze� d�S )�a The ``codes`` object defines a mapping from common names for HTTP statuses to their numerical codes, accessible either as attributes or as dictionary items. Example:: >>> import requests >>> requests.codes['temporary_redirect'] 307 >>> requests.codes.teapot 418 >>> requests.codes['\o/'] 200 Some codes have multiple names, and both upper- and lower-case versions of the names are allowed. For example, ``codes.ok``, ``codes.OK``, and ``codes.okay`` all correspond to the HTTP status code 200. � )� LookupDict�d )�continue�e )Zswitching_protocols�f )Z processingzearly-hints�g )Z checkpoint�z )�uri_too_longZrequest_uri_too_long�� )�okZokayZall_okZall_okayZall_goodz\o/u ✓�� )�created�� )Zaccepted�� )Znon_authoritative_infoZnon_authoritative_information�� )Z no_content�� )Z reset_content�reset�� )Zpartial_content�partial�� )Zmulti_statusZmultiple_statusZmulti_statiZmultiple_stati�� )Zalready_reported�� )Zim_usedi, )Zmultiple_choicesi- )Zmoved_permanentlyZmovedz\o-i. )�foundi/ )Z see_other�otheri0 )Znot_modifiedi1 )Z use_proxyi2 )Zswitch_proxyi3 )Ztemporary_redirectZtemporary_movedZ temporaryi4 )Zpermanent_redirectZresume_incompleteZresumei� )Zbad_requestZbadi� )Zunauthorizedi� )Zpayment_requiredZpaymenti� )Z forbiddeni� )Z not_foundz-o-i� )Zmethod_not_allowedZnot_allowedi� )Znot_acceptablei� )Zproxy_authentication_requiredZ proxy_authZproxy_authenticationi� )Zrequest_timeout�timeouti� )Zconflicti� )Zgonei� )Zlength_requiredi� )Zprecondition_failed�preconditioni� )Zrequest_entity_too_largeZcontent_too_largei� )Zrequest_uri_too_larger i� )Zunsupported_media_typeZunsupported_mediaZ media_typei� )Zrequested_range_not_satisfiableZrequested_rangeZrange_not_satisfiablei� )Zexpectation_failedi� )Zim_a_teapotZteapotZ i_am_a_teapoti� )Zmisdirected_requesti� )Zunprocessable_entityZ unprocessableZunprocessable_contenti� )�lockedi� )Zfailed_dependencyZ dependencyi� )Zunordered_collectionZ unorderedZ too_earlyi� )Zupgrade_required�upgradei� )Zprecondition_requiredr i� )Ztoo_many_requestsZtoo_manyi� )Zheader_fields_too_largeZfields_too_largei� )Zno_response�nonei� )Z retry_withZretryi� )Z$blocked_by_windows_parental_controlsZparental_controlsi� )Zunavailable_for_legal_reasonsZ legal_reasonsi� )Zclient_closed_requesti� )Zinternal_server_errorZserver_errorz/o\u ✗i� )Znot_implementedi� )Zbad_gatewayi� )Zservice_unavailableZunavailablei� )Zgateway_timeouti� )Zhttp_version_not_supportedZhttp_versioni� )Zvariant_also_negotiatesi� )Zinsufficient_storagei� )Zbandwidth_limit_exceededZ bandwidthi� )Znot_extendedi� )Znetwork_authentication_requiredZnetwork_authZnetwork_authenticationZstatus_codes)�namec s� t �� D ]\} }|D ]}tt|| � |�d�stt|�� | � q qdd� � td ur=td d�� fdd�tt �D �� ad S d ad S )N)�\�/c S s$ d� dd� t| D ��}d| |f S )Nz, c s s � | ] }d |� d �V qdS )z``N� )�.0�nr"