OwlCyberSecurity - MANAGER
Edit File: status_codes.cpython-39.pyc
a �F�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)Zswitching_protocols)Z processingzearly-hints)Z checkpoint)�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_used)Zmultiple_choices)�moved_permanently�movedz\o-)�found)� see_other�other)Znot_modified)Z use_proxy)Zswitch_proxy)�temporary_redirectZtemporary_movedZ temporary)�permanent_redirectZresume_incompleteZresume)Zbad_requestZbad)Zunauthorized)Zpayment_requiredZpayment)Z forbidden)Z not_foundz-o-)Zmethod_not_allowedZnot_allowed)Znot_acceptable)Zproxy_authentication_required� proxy_authZproxy_authentication)Zrequest_timeout�timeout)Zconflict)Zgone)Zlength_required)Zprecondition_failed�precondition)Zrequest_entity_too_largeZcontent_too_large)Zrequest_uri_too_larger )Zunsupported_media_typeZunsupported_mediaZ media_type)Zrequested_range_not_satisfiableZrequested_rangeZrange_not_satisfiable)Zexpectation_failed)Zim_a_teapotZteapotZ i_am_a_teapot)Zmisdirected_request)Zunprocessable_entityZ unprocessableZunprocessable_content)�locked)Zfailed_dependency� dependency)Zunordered_collectionZ unorderedZ too_early)Zupgrade_required�upgrade)Zprecondition_requiredr )Ztoo_many_requestsZtoo_many)Zheader_fields_too_largeZfields_too_large)Zno_response�none)� retry_with�retry)Z$blocked_by_windows_parental_controlsZparental_controls)Zunavailable_for_legal_reasonsZ legal_reasons)Zclient_closed_request)Zinternal_server_errorZserver_errorz/o\u ✗)Znot_implemented)Zbad_gateway)Zservice_unavailableZunavailable)Zgateway_timeout)Zhttp_version_not_supported�http_version)Zvariant_also_negotiates)Zinsufficient_storage)Zbandwidth_limit_exceededZ bandwidth)Znot_extended)Znetwork_authentication_requiredZnetwork_authZnetwork_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 urvtd 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/home/gouroczh/virtualenv/test/3.9/lib/python3.9/site-packages/pip/_vendor/requests/status_codes.py� <genexpr>u � z%_init.<locals>.doc.<locals>.<genexpr>z* %d: %s)�join�_codes)�code�namesr- r- r0 �doct s z_init.<locals>.doc� c 3 s | ]}� |�V qd S )Nr- )r. r5 �r7 r- r0 r1 z r2 z_init.<locals>.<genexpr>) r4 �items�setattr�codes� startswith�upper�__doc__r3 �sorted)r5 Ztitles�titler- r9 r0 �_initm s �&�rB N)r? � structuresr r4 r<