관리-도구
편집 파일: status_codes.cpython-311.pyc
� �܋f� � �� � 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���Z ed���� � Zd�� Z e� � 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 )� processingzearly-hints�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_large�content_too_largei� )�request_uri_too_larger i� )�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� unprocessable�unprocessable_contenti� )�lockedi� )�failed_dependency� dependencyi� )�unordered_collection� unordered� too_earlyi� )�upgrade_required�upgradei� )�precondition_requiredrO 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 � �� t � � � D ]]\ } }|D ]U}t t || � � |� d� � s(t t |� � � | � � �V�^d� �t �>t dz d� �fd�t t � � D � � � � z nd ad S )N)�\�/c �d � d� d� t | D � � � � }d| |fz S )Nz, c 3 �"