U
    Ïvag‹  ã                E   @   sº   d a ddlmZ 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/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGœDZedHdI�ZdJdK„ Zeƒ  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)Zswitching_protocols)Z
processing)Z
checkpoint)Zuri_too_longZrequest_uri_too_long)ÚokZokayZall_okZall_okayZall_goodz\o/u   âœ“)Úcreated)Zaccepted)Znon_authoritative_infoZnon_authoritative_information)Z
no_content)Zreset_contentÚreset)Zpartial_contentÚpartial)Zmulti_statusZmultiple_statusZmulti_statiZmultiple_stati)Zalready_reported)Zim_used)Zmultiple_choices)Úmoved_permanentlyÚmovedz\o-)Úfound)Ú	see_otherÚother)Znot_modified)Z	use_proxy)Zswitch_proxy)Útemporary_redirectZtemporary_movedZ	temporary)Úpermanent_redirectZresume_incompleteZresume)Zbad_requestZbad)Zunauthorized)Zpayment_requiredZpayment)Z	forbidden)Z	not_foundz-o-)Zmethod_not_allowedZnot_allowed)Znot_acceptable)Zproxy_authentication_requiredÚ
proxy_authZproxy_authentication)Zrequest_timeoutÚtimeout)Zconflict)Zgone)Zlength_required)Zprecondition_failedÚprecondition)Zrequest_entity_too_large)Zrequest_uri_too_large)Zunsupported_media_typeZunsupported_mediaZ
media_type)Zrequested_range_not_satisfiableZrequested_rangeZrange_not_satisfiable)Zexpectation_failed)Zim_a_teapotZteapotZi_am_a_teapot)Zmisdirected_request)Zunprocessable_entityZunprocessable)Úlocked)Zfailed_dependencyZ
dependency)Zunordered_collectionZ	unordered)Zupgrade_requiredZupgrade)Zprecondition_requiredr   )Ztoo_many_requestsZtoo_many)Zheader_fields_too_largeZfields_too_large)Zno_responseÚnone)Ú
retry_withÚretry)Z$blocked_by_windows_parental_controlsZparental_controls)Zunavailable_for_legal_reasonsZlegal_reasons)Zclient_closed_request)Zinternal_server_errorZserver_errorz/o\u   âœ—)Znot_implemented)Zbad_gateway)Zservice_unavailableZunavailable)Zgateway_timeout)Zhttp_version_not_supportedÚhttp_version)Zvariant_also_negotiates)Zinsufficient_storage)Zbandwidth_limit_exceededZ	bandwidth)Znot_extended)Znetwork_authentication_requiredZnetwork_authZ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 ]*}tt|| ƒ | d¡stt| ¡ | ƒ qqdd„ ‰ td k	rvtd d ‡ fdd„tt ƒD ƒ¡ nd ad S )N)ú\ú/c                 S   s$   d  dd„ t|  D ƒ¡}d| |f S )Nz, c                 s   s   | ]}d |› d �V  qdS )z``N© )Ú.0Únr*   r*   úU/var/www/html/myvenv/lib/python3.8/site-packages/pip/_vendor/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  qd S )Nr*   )r+   r1   ©r3   r*   r-   r.   z   s     z_init.<locals>.<genexpr>)	r0   ÚitemsÚsetattrÚcodesÚ
startswithÚupperÚ__doc__r/   Úsorted)r1   ZtitlesÚtitler*   r5   r-   Ú_initm   s    
ÿ&ýr>   N)r;   Ú
structuresr   r0   r8   r>   r*   r*   r*   r-   Ú<module>   s’   °S
