Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pyo


t_c@sdaddlmZiDdd6dd6dd6dd
6dd
6dd6dd6dd6dd6dd6dd!6dd$6dd)6dd+6dd-6dd/6dd36dd56dd86dd:6dd<6dd>6ddB6ddF6ddI6ddK6ddN6ddP6ddS6ddV6ddX6dd\6dd_6dda6ddc6dde6ddh6ddj6ddl6ddp6ddt6ddv6ddz6dd|6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6ZeddZdZedS(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
LookupDicttcontinueidtswitching_protocolsiet
processingift
checkpointigturi_too_longtrequest_uri_too_longiztoktokaytall_oktall_okaytall_goods\o/s✓itcreateditaccepteditnon_authoritative_infotnon_authoritative_informationit
no_contentit
reset_contenttresetitpartial_contenttpartialitmulti_statustmultiple_statustmulti_statitmultiple_statiitalready_reporteditim_useditmultiple_choicesi,tmoved_permanentlytmoveds\o-i-tfoundi.t	see_othertotheri/tnot_modifiedi0t	use_proxyi1tswitch_proxyi2ttemporary_redirectttemporary_movedt	temporaryi3tpermanent_redirecttresume_incompletetresumei4tbad_requesttbaditunauthorizeditpayment_requiredtpaymentit	forbiddenit	not_founds-o-itmethod_not_allowedtnot_alloweditnot_acceptableitproxy_authentication_requiredt
proxy_authtproxy_authenticationitrequest_timeoutttimeoutitconflictitgoneitlength_requireditprecondition_failedtpreconditionitrequest_entity_too_largeitrequest_uri_too_largeitunsupported_media_typetunsupported_mediat
media_typeitrequested_range_not_satisfiabletrequested_rangetrange_not_satisfiableitexpectation_faileditim_a_teapottteapott
i_am_a_teapotitmisdirected_requestitunprocessable_entityt
unprocessableitlockeditfailed_dependencyt
dependencyitunordered_collectiont	unordereditupgrade_requiredtupgradeitprecondition_requiredittoo_many_requeststtoo_manyitheader_fields_too_largetfields_too_largeitno_responsetnoneit
retry_withtretryit$blocked_by_windows_parental_controlstparental_controlsitunavailable_for_legal_reasonst
legal_reasonsitclient_closed_requestitinternal_server_errortserver_errors/o\s✗itnot_implementeditbad_gatewayitservice_unavailabletunavailableitgateway_timeoutithttp_version_not_supportedthttp_versionitvariant_also_negotiatesitinsufficient_storageitbandwidth_limit_exceededt	bandwidthitnot_extendeditnetwork_authentication_requiredtnetwork_authtnetwork_authenticationitnametstatus_codescsxctjD]U\}}xF|D]>}tt|||jds tt|j|q q Wq
Wdtdk	rtddjfdt	tDndadS(Ns\t/cSs+djdt|D}d||fS(Ns, css|]}d|VqdS(s``%s``N((t.0tn((sR/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pys	<genexpr>sss* %d: %s(tjoint_codes(tcodetnames((sR/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pytdocrss
c3s|]}|VqdS(N((RvRz(R|(sR/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pys	<genexpr>xs(s\Ru(
Rytitemstsetattrtcodest
startswithtuppert__doc__tNoneRxtsorted(Rzttitlesttitle((R|sR/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pyt_initks
!	N(R(R(R(R(RR(sokRR	R
Rs\o/s✓(R(R
(RR(R(Rsreset(RR(RRRR(R(R(R(RRs\o-(sfound(Rsother(R!(R"(R#(R$R%R&(R'R(R)(R*R+(R,(R-R.(R/(R0s-o-(R1R2(R3(R4R5R6(R7R8(R9(R:(R;(R<R=(R>(R?(R@RARB(RCRDRE(RF(RGRHRI(RJ(RKRL(RM(RNRO(RPRQ(RRRS(RTR=(RURV(RWRX(RYRZ(R[R\(R]R^(R_R`(Ra(RbRcs/o\s✗(Rd(Re(RfRg(Rh(RiRj(Rk(Rl(RmRn(Ro(RpRqRr(Rt
structuresRRyRR(((sR/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/status_codes.pyt<module>s
	
Back to Directory File Manager