a
    &h                  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@dAdBdCdDdEdFdGDZ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)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_moved	temporary)permanent_redirectZresume_incompleteresume)Zbad_requestZbad)Zunauthorized)Zpayment_requiredZpayment)	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_requiredupgrade)Zprecondition_requiredr   )Ztoo_many_requestsZtoo_many)Zheader_fields_too_largeZfields_too_large)Zno_responsenone)Z
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_unavailableunavailable)Zgateway_timeout)Zhttp_version_not_supportedZ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)Dd   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 u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.   Z/var/www/html/swiplay.fr/scambot/venv/lib/python3.9/site-packages/requests/status_codes.py	<genexpr>u       z%_init.<locals>.doc.<locals>.<genexpr>z* %d: %s)join_codes)codenamesr.   r.   r1   doct   s    z_init.<locals>.doc
c                 3   s   | ]} |V  qd S )Nr.   )r/   r6   r8   r.   r1   r2   z   r3   z_init.<locals>.<genexpr>)	r5   itemssetattrcodes
startswithupper__doc__r4   sorted)r6   Ztitlestitler.   r:   r1   _initm   s    
&rC   N)r@   
structuresr   r5   r=   rC   r.   r.   r.   r1   <module>   s   S
