o
    'h                     @   s  d a ddlmZ i 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$i d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFi dGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhi didjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddZeddZdd Ze  dS )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.
   )
LookupDictd   )continuee   )switching_protocolsf   )
processingzearly-hintsg   )
checkpointz   )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_usedi,  )multiple_choicesi-  )moved_permanentlymovedz\o-i.  )foundi/  )	see_otherotheri0  )not_modifiedi1  )	use_proxyi2  )switch_proxyi3  )temporary_redirecttemporary_moved	temporaryi4  )permanent_redirectresume_incompleteresumei  )bad_requestbadi  )unauthorizedi  )payment_requiredpaymenti  )	forbiddeni  )	not_foundz-o-i  )method_not_allowednot_allowedi  )not_acceptablei  )proxy_authentication_required
proxy_authproxy_authenticationi  )request_timeouttimeouti  )conflicti  )gonei  )length_requiredi  )precondition_failedpreconditioni  )request_entity_too_largecontent_too_largei  )request_uri_too_larger   i  )unsupported_media_typeunsupported_media
media_typei  )requested_range_not_satisfiablerequested_rangerange_not_satisfiablei  )expectation_failedi  )im_a_teapotteapoti_am_a_teapoti  )misdirected_requesti  )unprocessable_entityunprocessableunprocessable_contenti  )lockedi  )failed_dependency
dependencyi  )unordered_collection	unordered	too_earlyi  )upgrade_requiredupgradei  )precondition_requiredrN   i  )too_many_requeststoo_manyi  )header_fields_too_largefields_too_largei  )no_responsenonei  )
retry_withretryi  )$blocked_by_windows_parental_controlsparental_controlsi  )unavailable_for_legal_reasonslegal_reasonsi  )client_closed_requesti  )internal_server_errorserver_errorz/o\u   ✗i  )not_implementedi  )bad_gatewayi  )service_unavailableunavailablei  )gateway_timeouti  )http_version_not_supportedhttp_versioni  )variant_also_negotiatesi  )insufficient_storagei  )bandwidth_limit_exceeded	bandwidthi  )not_extendedi  )network_authentication_requirednetwork_authnetwork_authenticationstatus_codes)namec                     s   t  D ]\} }|D ]}tt||  |dstt| |  q
qdd  td ur=td d fddtt D  ad S 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   Q/var/www/html/olx_land/venv/lib/python3.10/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  qd 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   	
 !"#$%&'()*+,-./056789:;<=>?@ABCDFGHIJKLMNOP
S
