
j^c           @   s  d  a  d d l m Z iD d d 6d d 6d d 6d d
 6d d 6d d 6d d 6d d 6d d 6d d 6d d! 6d d$ 6d d) 6d d+ 6d d- 6d d/ 6d d3 6d d5 6d d8 6d d: 6d d< 6d d> 6d dB 6d dF 6d dI 6d dK 6d dN 6d dP 6d dS 6d dV 6d dX 6d d\ 6d d_ 6d da 6d dc 6d de 6d dh 6d dj 6d dl 6d dp 6d dt 6d dv 6d dz 6d d| 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6dd 6dd 6dd 6dd 6dd 6dd 6Z e d d  Z d   Z e   d S(  s  
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.
i   (   t
   LookupDictt   continueid   t   switching_protocolsie   t
   processingif   t
   checkpointig   t   uri_too_longt   request_uri_too_longiz   t   okt   okayt   all_okt   all_okayt   all_goods   \o/s   ✓i   t   createdi   t   acceptedi   t   non_authoritative_infot   non_authoritative_informationi   t
   no_contenti   t   reset_contentt   reseti   t   partial_contentt   partiali   t   multi_statust   multiple_statust   multi_statit   multiple_statii   t   already_reportedi   t   im_usedi   t   multiple_choicesi,  t   moved_permanentlyt   moveds   \o-i-  t   foundi.  t	   see_othert   otheri/  t   not_modifiedi0  t	   use_proxyi1  t   switch_proxyi2  t   temporary_redirectt   temporary_movedt	   temporaryi3  t   permanent_redirectt   resume_incompletet   resumei4  t   bad_requestt   badi  t   unauthorizedi  t   payment_requiredt   paymenti  t	   forbiddeni  t	   not_founds   -o-i  t   method_not_allowedt   not_allowedi  t   not_acceptablei  t   proxy_authentication_requiredt
   proxy_autht   proxy_authenticationi  t   request_timeoutt   timeouti  t   conflicti  t   gonei  t   length_requiredi  t   precondition_failedt   preconditioni  t   request_entity_too_largei  t   request_uri_too_largei  t   unsupported_media_typet   unsupported_mediat
   media_typei  t   requested_range_not_satisfiablet   requested_ranget   range_not_satisfiablei  t   expectation_failedi  t   im_a_teapott   teapott   i_am_a_teapoti  t   misdirected_requesti  t   unprocessable_entityt   unprocessablei  t   lockedi  t   failed_dependencyt
   dependencyi  t   unordered_collectiont	   unorderedi  t   upgrade_requiredt   upgradei  t   precondition_requiredi  t   too_many_requestst   too_manyi  t   header_fields_too_larget   fields_too_largei  t   no_responset   nonei  t
   retry_witht   retryi  t$   blocked_by_windows_parental_controlst   parental_controlsi  t   unavailable_for_legal_reasonst   legal_reasonsi  t   client_closed_requesti  t   internal_server_errort   server_errors   /o\s   ✗i  t   not_implementedi  t   bad_gatewayi  t   service_unavailablet   unavailablei  t   gateway_timeouti  t   http_version_not_supportedt   http_versioni  t   variant_also_negotiatesi  t   insufficient_storagei  t   bandwidth_limit_exceededt	   bandwidthi  t   not_extendedi  t   network_authentication_requiredt   network_autht   network_authenticationi  t   namet   status_codesc             s   xc t  j   D]U \ }  } xF | D]> } t t | |   | j d  s  t t | j   |   q  q  Wq Wd     t d  k	 r t d d j   f d   t	 t   D  n d  a d  S(   Ns   \t   /c         S   s+   d j  d   t |  D  } d |  | f S(   Ns   , c         s   s   |  ] } d  | Vq d S(   s   ``%s``N(    (   t   .0t   n(    (    s2   site-packages/pip/_vendor/requests/status_codes.pys	   <genexpr>s   s    s   * %d: %s(   t   joint   _codes(   t   codet   names(    (    s2   site-packages/pip/_vendor/requests/status_codes.pyt   docr   s    s   
c         3   s   |  ] }   |  Vq d  S(   N(    (   Rv   Rz   (   R|   (    s2   site-packages/pip/_vendor/requests/status_codes.pys	   <genexpr>x   s    (   s   \Ru   (
   Ry   t   itemst   setattrt   codest
   startswitht   uppert   __doc__t   NoneRx   t   sorted(   Rz   t   titlest   title(    (   R|   s2   site-packages/pip/_vendor/requests/status_codes.pyt   _initk   s    !	N(   R   (   R   (   R   (   R   (   R   R   (   R   R   R	   R
   R   s   \o/s   ✓(   R   (   R   (   R   R   (   R   (   R   R   (   R   R   (   R   R   R   R   (   R   (   R   (   R   (   R   R   s   \o-(   R   (   R   R    (   R!   (   R"   (   R#   (   R$   R%   R&   (   R'   R(   R)   (   R*   R+   (   R,   (   R-   R.   (   R/   (   R0   s   -o-(   R1   R2   (   R3   (   R4   R5   R6   (   R7   R8   (   R9   (   R:   (   R;   (   R<   R=   (   R>   (   R?   (   R@   RA   RB   (   RC   RD   RE   (   RF   (   RG   RH   RI   (   RJ   (   RK   RL   (   RM   (   RN   RO   (   RP   RQ   (   RR   RS   (   RT   R=   (   RU   RV   (   RW   RX   (   RY   RZ   (   R[   R\   (   R]   R^   (   R_   R`   (   Ra   (   Rb   Rc   s   /o\s   ✗(   Rd   (   Re   (   Rf   Rg   (   Rh   (   Ri   Rj   (   Rk   (   Rl   (   Rm   Rn   (   Ro   (   Rp   Rq   Rr   (   R   t
   structuresR    Ry   R   R   (    (    (    s2   site-packages/pip/_vendor/requests/status_codes.pyt   <module>   s    
	