zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
U
¡ý°d‹ãE@sºdaddlmZddddddd    d
d d d 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)Úswitching_protocols)Ú
processing)Ú
checkpoint)Ú 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_used)Úmultiple_choices)Úmoved_permanentlyÚmovedz\o-)Úfound)Ú    see_otherÚother)Ú not_modified)Ú    use_proxy)Ú switch_proxy)Útemporary_redirectÚtemporary_movedÚ    temporary)Úpermanent_redirectÚresume_incompleteÚresume)Ú bad_requestÚbad)Ú unauthorized)Úpayment_requiredÚpayment)Ú    forbidden)Ú    not_foundz-o-)Úmethod_not_allowedÚ not_allowed)Únot_acceptable)Úproxy_authentication_requiredÚ
proxy_authÚproxy_authentication)Úrequest_timeoutÚtimeout)Úconflict)Úgone)Úlength_required)Úprecondition_failedÚ precondition)Úrequest_entity_too_large)Úrequest_uri_too_large)Úunsupported_media_typeÚunsupported_mediaÚ
media_type)Úrequested_range_not_satisfiableÚrequested_rangeÚrange_not_satisfiable)Úexpectation_failed)Ú im_a_teapotÚteapotÚ i_am_a_teapot)Úmisdirected_request)Úunprocessable_entityÚ unprocessable)Úlocked)Úfailed_dependencyÚ
dependency)Úunordered_collectionÚ    unordered)Úupgrade_requiredÚupgrade)Úprecondition_requiredr?)Útoo_many_requestsÚtoo_many)Úheader_fields_too_largeÚfields_too_large)Ú no_responseÚnone)Ú
retry_withÚretry)Ú$blocked_by_windows_parental_controlsÚparental_controls)Úunavailable_for_legal_reasonsÚ legal_reasons)Úclient_closed_request)Úinternal_server_errorÚ server_errorz/o\u✗)Únot_implemented)Ú bad_gateway)Úservice_unavailableÚ unavailable)Úgateway_timeout)Úhttp_version_not_supportedÚ http_version)Úvariant_also_negotiates)Úinsufficient_storage)Úbandwidth_limit_exceededÚ    bandwidth)Ú not_extended)Únetwork_authentication_requiredÚ network_authÚnetwork_authentication)DédéeéfégézéÈéÉéÊéËéÌéÍéÎéÏéÐéâi,i-i.i/i0i1i2i3i4i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)Únamecs~t ¡D]8\}}|D]*}tt||ƒ| d¡stt| ¡|ƒqqdd„‰tdk    rvtdd ‡fdd„ttƒDƒ¡ndadS)N)ú\ú/cSs$d dd„t|Dƒ¡}d||fS)Nz, css|]}d|›dVqdS)z``N©)Ú.0ÚnrˆrˆúLd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\requests/status_codes.pyÚ    <genexpr>usz%_init.<locals>.doc.<locals>.<genexpr>z* %d: %s)ÚjoinÚ_codes)ÚcodeÚnamesrˆrˆr‹Údoctsz_init.<locals>.docÚ
c3s|]}ˆ|ƒVqdS)Nrˆ)r‰r©r‘rˆr‹rŒzsz_init.<locals>.<genexpr>)    rŽÚitemsÚsetattrÚcodesÚ
startswithÚupperÚ__doc__rÚsorted)rÚtitlesÚtitlerˆr“r‹Ú_initms 
ÿ&ýrN)r™Ú
structuresrrŽr–rrˆrˆrˆr‹Ú<module>s’ °S