관리-도구
편집 파일: status_codes.cpython-38.pyc
U .?�f� � E @ s� d a ddlmZ ddddddd d ddd ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdG�DZedHdI�ZdJdK� Ze� dLS )Ma 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)�continue)�switching_protocols)� processingzearly-hints)� checkpoint)�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_used)�multiple_choices)�moved_permanently�movedz\o-)�found)� see_other�other)�not_modified)� use_proxy)�switch_proxy)�temporary_redirect�temporary_moved� temporary)�permanent_redirect�resume_incomplete�resume)�bad_request�bad)�unauthorized)�payment_required�payment)� forbidden)� not_foundz-o-)�method_not_allowed�not_allowed)�not_acceptable)�proxy_authentication_required� proxy_auth�proxy_authentication)�request_timeout�timeout)�conflict)�gone)�length_required)�precondition_failed�precondition)�request_entity_too_large�content_too_large)�request_uri_too_larger )�unsupported_media_type�unsupported_media� media_type)�requested_range_not_satisfiable�requested_range�range_not_satisfiable)�expectation_failed)�im_a_teapot�teapot� i_am_a_teapot)�misdirected_request)�unprocessable_entity� unprocessable�unprocessable_content)�locked)�failed_dependency� dependency)�unordered_collection� unordered� too_early)�upgrade_required�upgrade)�precondition_requiredr? )�too_many_requests�too_many)�header_fields_too_large�fields_too_large)�no_response�none)� retry_with�retry)�$blocked_by_windows_parental_controls�parental_controls)�unavailable_for_legal_reasons� legal_reasons)�client_closed_request)�internal_server_error�server_errorz/o\u ✗)�not_implemented)�bad_gateway)�service_unavailable�unavailable)�gateway_timeout)�http_version_not_supported�http_version)�variant_also_negotiates)�insufficient_storage)�bandwidth_limit_exceeded� bandwidth)�not_extended)�network_authentication_required�network_auth�network_authentication)D�d �e �f �g �z �� �� �� �� �� �� �� �� �� �� i, i- i. i/ i0 i1 i2 i3 i4 i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� i� �status_codes)�namec s~ t �� D ]8\} }|D ]*}tt|| � |�d�stt|�� | � qqdd� � td k rvtd d�� fdd�tt �D �� nd 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� r� �C/opt/hc_python/lib/python3.8/site-packages/requests/status_codes.py� <genexpr>u s z%_init.<locals>.doc.<locals>.<genexpr>z* %d: %s)�join�_codes)�code�namesr� r� r� �doct s z_init.<locals>.doc� c 3 s | ]}� |�V qd S )Nr� )r� r� �r� r� r� r� z s z_init.<locals>.<genexpr>) r� �items�setattr�codes� startswith�upper�__doc__r� �sorted)r� �titles�titler� r� r� �_initm s �&�r� N)r� � structuresr r� r� r� r� r� r� r� �<module> s� �S