관리-도구
편집 파일: status_codes.cpython-310.pyc
o ƚRe\ � @ 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 )�switching_protocols�f )� processing�g )� checkpoint�z )�uri_too_long�request_uri_too_long�� )�ok�okay�all_ok�all_okay�all_goodz\o/u ✓�� )�created�� )�accepted�� )�non_authoritative_info�non_authoritative_information�� )� no_content�� )� reset_content�reset�� )�partial_content�partial�� )�multi_status�multiple_status�multi_stati�multiple_stati�� )�already_reported�� )�im_usedi, )�multiple_choicesi- )�moved_permanently�movedz\o-i. )�foundi/ )� see_other�otheri0 )�not_modifiedi1 )� use_proxyi2 )�switch_proxyi3 )�temporary_redirect�temporary_moved� temporaryi4 )�permanent_redirect�resume_incomplete�resumei� )�bad_request�badi� )�unauthorizedi� )�payment_required�paymenti� )� forbiddeni� )� not_foundz-o-i� )�method_not_allowed�not_allowedi� )�not_acceptablei� )�proxy_authentication_required� proxy_auth�proxy_authenticationi� )�request_timeout�timeouti� )�conflicti� )�gonei� )�length_requiredi� )�precondition_failed�preconditioni� )�request_entity_too_largei� )�request_uri_too_largei� )�unsupported_media_type�unsupported_media� media_typei� )�requested_range_not_satisfiable�requested_range�range_not_satisfiablei� )�expectation_failedi� )�im_a_teapot�teapot� i_am_a_teapoti� )�misdirected_requesti� )�unprocessable_entity� unprocessablei� )�lockedi� )�failed_dependency� dependencyi� )�unordered_collection� unorderedi� )�upgrade_required�upgradei� )�precondition_requiredrN i� )�too_many_requests�too_manyi� )�header_fields_too_large�fields_too_largei� )�no_response�nonei� )� retry_with�retryi� )�$blocked_by_windows_parental_controls�parental_controlsi� )�unavailable_for_legal_reasons� legal_reasonsi� )�client_closed_requesti� )�internal_server_error�server_errorz/o\u ✗i� )�not_implementedi� )�bad_gatewayi� )�service_unavailable�unavailablei� )�gateway_timeouti� )�http_version_not_supported�http_versioni� )�variant_also_negotiatesi� )�insufficient_storagei� )�bandwidth_limit_exceeded� bandwidthi� )�not_extendedi� )�network_authentication_required�network_auth�network_authentication�status_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 | V qdS )z``%s``N� )�.0�nr� r� ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py� <genexpr>s � � z%_init.<locals>.doc.<locals>.<genexpr>z* %d: %s)�join�_codes)�code�namesr� r� r� �docr s z_init.<locals>.doc� c 3 s � | ]}� |�V qd S )Nr� )r� r� �r� r� r� r� x r� z_init.<locals>.<genexpr>) r� �items�setattr�codes� startswith�upper�__doc__r� �sorted)r� �titles�titler� r� r� �_initk s �����r� N)r� � structuresr r� r� r� r� r� r� r� �<module> s ������ � ��� �������������� �!�"�#�$�%�&�'�(�)�*�+�,�-�.�/�0�1�2�3�4�5�6�7�8�9�:�;�<�=�>�?�@�C�D�E�F�G�H�I�J�K�L�M� P