U lfE@sdaddlmZddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGDZedHdIZdJdKZedLS)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) processingz early-hints) checkpoint) uri_too_longrequest_uri_too_long)okokayall_okall_okayall_goodz\o/u✓)created)accepted)non_authoritative_infonon_authoritative_information) no_content) reset_contentreset)partial_contentpartial) multi_statusmultiple_status multi_statimultiple_stati)already_reported)im_used)multiple_choices)moved_permanentlymovedz\o-)found) see_otherother) not_modified) use_proxy) switch_proxy)temporary_redirecttemporary_moved temporary)permanent_redirectresume_incompleteresume) bad_requestbad) unauthorized)payment_requiredpayment) forbidden) not_foundz-o-)method_not_allowed not_allowed)not_acceptable)proxy_authentication_required proxy_authproxy_authentication)request_timeouttimeout)conflict)gone)length_required)precondition_failed precondition)request_entity_too_largecontent_too_large)request_uri_too_larger)unsupported_media_typeunsupported_media media_type)requested_range_not_satisfiablerequested_rangerange_not_satisfiable)expectation_failed) im_a_teapotteapot i_am_a_teapot)misdirected_request)unprocessable_entity unprocessableunprocessable_content)locked)failed_dependency dependency)unordered_collection unordered too_early)upgrade_requiredupgrade)precondition_requiredr?)too_many_requeststoo_many)header_fields_too_largefields_too_large) no_responsenone) retry_withretry)$blocked_by_windows_parental_controlsparental_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_authnetwork_authentication)Ddefgzi,i-i.i/i0i1i2i3i4iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii status_codes)namecs~tD]8\}}|D]*}tt|||dstt||qqddtdk rvtddfddttDndadS)N)\/cSs$dddt|D}d||fS)Nz, css|]}d|dVqdS)z``N).0nrrC/opt/hc_python/lib/python3.8/site-packages/requests/status_codes.py usz%_init..doc..z* %d: %s)join_codes)codenamesrrrdoctsz_init..doc c3s|]}|VqdS)Nr)rrrrrrzsz_init..) ritemssetattrcodes startswithupper__doc__rsorted)rtitlestitlerrr_initms  &rN)r structuresrrrrrrrrs S