관리-도구
편집 파일: status_codes.cpython-36.pyc
3 �Re\ � F @ s� d a ddlmZ d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d{�DZed|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�continue�switching_protocols� processing� checkpoint�uri_too_long�request_uri_too_long�ok�okay�all_ok�all_okay�all_good�\o/� ✓�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�moved�\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_found�-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�request_uri_too_large�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�locked�failed_dependency� dependency�unordered_collection� unordered�upgrade_required�upgrade�precondition_required�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_error�/o\� ✗�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� xHt j� D ]<\} }x2|D ]*}tt|| � |jd�stt|j� | � qW q W dd� � td k r~td dj� fdd�tt �D �� nd ad S ) N�\�/c S s$ dj dd� t| D ��}d| |f S )Nz, c s s | ]}d | V qdS )z``%s``N� )�.0�nr� r� ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/requests/status_codes.py� <genexpr>s 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 s z_init.<locals>.<genexpr>)r� r� ) r� �items�setattr�codes� startswith�upper�__doc__r� �sorted)r� �titles�titler� )r� r� �_initk s r� N)r )r )r )r )r r )r r r r r r r )r )r )r r )r )r r )r r )r r r r )r )r )r )r r! r"