3 _=\!F@sdaddlmZddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd{DZed|d}Zd~dZedS)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. >>> 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. ) LookupDictcontinueswitching_protocols processing checkpoint uri_too_longrequest_uri_too_longokokayall_okall_okayall_good\o/✓createdacceptednon_authoritative_infonon_authoritative_information no_content reset_contentresetpartial_contentpartial multi_statusmultiple_status multi_statimultiple_statialready_reportedim_usedmultiple_choicesmoved_permanentlymoved\o-found see_otherother not_modified use_proxy switch_proxytemporary_redirecttemporary_moved temporarypermanent_redirectresume_incompleteresume bad_requestbad unauthorizedpayment_requiredpayment forbidden not_found-o-method_not_allowed not_allowednot_acceptableproxy_authentication_required proxy_authproxy_authenticationrequest_timeouttimeoutconflictgonelength_requiredprecondition_failed preconditionrequest_entity_too_largerequest_uri_too_largeunsupported_media_typeunsupported_media media_typerequested_range_not_satisfiablerequested_rangerange_not_satisfiableexpectation_failed im_a_teapotteapot i_am_a_teapotmisdirected_requestunprocessable_entity unprocessablelockedfailed_dependency dependencyunordered_collection unorderedupgrade_requiredupgradeprecondition_requiredtoo_many_requeststoo_manyheader_fields_too_largefields_too_large no_responsenone retry_withretry$blocked_by_windows_parental_controlsparental_controlsunavailable_for_legal_reasons legal_reasonsclient_closed_requestinternal_server_error server_error/o\✗not_implemented bad_gatewayservice_unavailable unavailablegateway_timeouthttp_version_not_supported http_versionvariant_also_negotiatesinsufficient_storagebandwidth_limit_exceeded bandwidth not_extendednetwork_authentication_required network_authnetwork_authentication)Ddefgzi,i-i.i/i0i1i2i3i4iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii status_codes)namecsxHtjD]<\}}x2|D]*}tt|||jdstt|j|qWq Wddtdk r~tddjfddttDndadS) N\/cSs$djddt|D}d||fS)Nz, css|]}d|VqdS)z``%s``N).0nrro/private/var/folders/47/550316q90kl84vt_jn5ctz8chwmm0c/T/pip-install-yoigbb1v/requests/requests/status_codes.py psz%_init..doc..z* %d: %s)join_codes)codenamesrrrdocosz_init..doc c3s|]}|VqdS)Nr)rr)rrrrusz_init..)rr) ritemssetattrcodes startswithupper__doc__rsorted)rtitlestitler)rr_iniths   rN)r)r)r)r)rr)r r r r r rr)r)r)rr)r)rr)rr)rrrr)r)r)r)r r!r")r#)r$r%)r&)r')r()r)r*r+)r,r-r.)r/r0)r1)r2r3)r4)r5r6)r7r8)r9)r:r;r<)r=r>)r?)r@)rA)rBrC)rD)rE)rFrGrH)rIrJrK)rL)rMrNrO)rP)rQrR)rS)rTrU)rVrW)rXrY)rZrC)r[r\)r]r^)r_r`)rarb)rcrd)rerf)rg)rhrirjrk)rl)rm)rnro)rp)rqrr)rs)rt)rurv)rw)rxryrz)r structuresrrrrrrrrs