/opt/alt/python311/lib64/python3.11/http/__pycache__
Edit: /opt/alt/python311/lib64/python3.11/http/__pycache__/__init__.cpython-311.pyc (8747B)
§
�Ì{f�Gã óš — d dl mZmZmZ ddgZ ee¦ « G d„ d¦ « ¦ « Z ee¦ « G d„ d¦ « ¦ « ZdS )é )ÚStrEnumÚIntEnumÚ_simple_enumÚ
HTTPStatusÚ
HTTPMethodc ó — e Zd ZdZdCd„ZdZdZdZdZdZ d Z
d
ZdZdZ
d
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ d Z!d!Z"d"Z#d#Z$d$Z%d%Z&d&Z'd'Z(d(Z)d)Z*d*Z+d+Z,d,Z-d-Z.d.Z/d/Z0d0Z1d1Z2d2Z3d3Z4d4Z5d5Z6d6Z7d7Z8d8Z9d9Z:d:Z;d;Z
d>Z?d?Z@d@ZAdAZBdBS )Dr aG HTTP status codes and reason phrases
Status codes from the following RFCs are all observed:
* RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616
* RFC 6585: Additional HTTP Status Codes
* RFC 3229: Delta encoding in HTTP
* RFC 4918: HTTP Extensions for WebDAV, obsoletes 2518
* RFC 5842: Binding Extensions to WebDAV
* RFC 7238: Permanent Redirect
* RFC 2295: Transparent Content Negotiation in HTTP
* RFC 2774: An HTTP Extension Framework
* RFC 7725: An HTTP Status Code to Report Legal Obstacles
* RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2)
* RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
* RFC 8297: An HTTP Status Code for Indicating Hints
* RFC 8470: Using Early Data in HTTP
Ú c óf — t | |¦ « }||_ ||_ ||_ |S ©N)ÚintÚ__new__Ú_value_ÚphraseÚdescription)ÚclsÚvaluer r Úobjs ú4/opt/alt/python311/lib64/python3.11/http/__init__.pyr
zHTTPStatus.__new__ s/ € Ý�kŠk˜#˜uÑ%Ô%ˆØˆŒàˆŒ
Ø%ˆŒØˆ
ó )éd ÚContinuez!Request received, please continue)ée zSwitching Protocolsz.Switching to new protocol; obey Upgrade header)éf Ú
Processing)ég zEarly Hints)éÈ ÚOKz#Request fulfilled, document follows)éÉ ÚCreatedzDocument created, URL follows)éÊ ÚAcceptedz/Request accepted, processing continues off-line)éË zNon-Authoritative InformationzRequest fulfilled from cache)éÌ z
No Contentz"Request fulfilled, nothing follows)éÍ z
Reset Contentz"Clear input form for further input)éÎ zPartial ContentzPartial content follows)éÏ zMulti-Status)éÐ zAlready Reported)éâ zIM Used)i, zMultiple Choicesz,Object has several resources -- see URI list)i- zMoved Permanentlyú(Object moved permanently -- see URI list)i. ÚFoundú(Object moved temporarily -- see URI list)i/ z See Otherz'Object moved -- see Method and URL list)i0 zNot Modifiedz)Document has not changed since given time)i1 z Use Proxyz@You must use proxy specified in Location to access this resource)i3 zTemporary Redirectr+ )i4 zPermanent Redirectr) )i� zBad Requestz(Bad request syntax or unsupported method)i‘ ÚUnauthorizedz*No permission -- see authorization schemes)i’ zPayment Requiredz"No payment -- see charging schemes)i“ Ú Forbiddenz0Request forbidden -- authorization will not help)i” z Not FoundzNothing matches the given URI)i• zMethod Not Allowedz-Specified method is invalid for this resource)i– zNot Acceptablez%URI not available in preferred format)i— zProxy Authentication Requiredz7You must authenticate with this proxy before proceeding)i˜ zRequest Timeoutz"Request timed out; try again later)i™ ÚConflictzRequest conflict)iš ÚGonez5URI no longer exists and has been permanently removed)i› zLength Requiredz"Client must specify Content-Length)iœ zPrecondition Failedz Precondition in headers is false)i� zRequest Entity Too LargezEntity is too large)iž zRequest-URI Too LongzURI is too long)iŸ zUnsupported Media Typez!Entity body in unsupported format)i zRequested Range Not SatisfiablezCannot satisfy request range)i¡ zExpectation Failedz'Expect condition could not be satisfied)i¢ zI'm a Teapotz5Server refuses to brew coffee because it is a teapot.)i¥ zMisdirected Requestz(Server is not able to produce a response)i¦ zUnprocessable Entity)i§ ÚLocked)i¨ zFailed Dependency)i© z Too Early)iª zUpgrade Required)i¬ zPrecondition Requiredz8The origin server requires the request to be conditional)i zToo Many RequestszOThe user has sent too many requests in a given amount of time ("rate limiting"))i¯ zRequest Header Fields Too LargezVThe server is unwilling to process the request because its header fields are too large)ià zUnavailable For Legal ReasonszOThe server is denying access to the resource as a consequence of a legal demand)iô zInternal Server ErrorzServer got itself in trouble)iõ zNot Implementedz&Server does not support this operation)iö zBad Gatewayz+Invalid responses from another server/proxy)i÷ zService Unavailablez8The server cannot process the request due to a high load)iø zGateway Timeoutz4The gateway server did not receive a timely response)iù zHTTP Version Not SupportedzCannot fulfill request)iú zVariant Also Negotiates)iû zInsufficient Storage)iü z
Loop Detected)iþ zNot Extended)iÿ zNetwork Authentication Requiredz7The client needs to authenticate to gain network accessN)r )CÚ__name__Ú
__module__Ú__qualname__Ú__doc__r
ÚCONTINUEÚSWITCHING_PROTOCOLSÚ
PROCESSINGÚEARLY_HINTSr ÚCREATEDÚACCEPTEDÚNON_AUTHORITATIVE_INFORMATIONÚ
NO_CONTENTÚ
RESET_CONTENTÚPARTIAL_CONTENTÚMULTI_STATUSÚALREADY_REPORTEDÚIM_USEDÚMULTIPLE_CHOICESÚMOVED_PERMANENTLYÚFOUNDÚ SEE_OTHERÚNOT_MODIFIEDÚ USE_PROXYÚTEMPORARY_REDIRECTÚPERMANENT_REDIRECTÚBAD_REQUESTÚUNAUTHORIZEDÚPAYMENT_REQUIREDÚ FORBIDDENÚ NOT_FOUNDÚMETHOD_NOT_ALLOWEDÚNOT_ACCEPTABLEÚPROXY_AUTHENTICATION_REQUIREDÚREQUEST_TIMEOUTÚCONFLICTÚGONEÚLENGTH_REQUIREDÚPRECONDITION_FAILEDÚREQUEST_ENTITY_TOO_LARGEÚREQUEST_URI_TOO_LONGÚUNSUPPORTED_MEDIA_TYPEÚREQUESTED_RANGE_NOT_SATISFIABLEÚEXPECTATION_FAILEDÚIM_A_TEAPOTÚMISDIRECTED_REQUESTÚUNPROCESSABLE_ENTITYÚLOCKEDÚFAILED_DEPENDENCYÚ TOO_EARLYÚUPGRADE_REQUIREDÚPRECONDITION_REQUIREDÚTOO_MANY_REQUESTSÚREQUEST_HEADER_FIELDS_TOO_LARGEÚUNAVAILABLE_FOR_LEGAL_REASONSÚINTERNAL_SERVER_ERRORÚNOT_IMPLEMENTEDÚBAD_GATEWAYÚSERVICE_UNAVAILABLEÚGATEWAY_TIMEOUTÚHTTP_VERSION_NOT_SUPPORTEDÚVARIANT_ALSO_NEGOTIATESÚINSUFFICIENT_STORAGEÚ
LOOP_DETECTEDÚNOT_EXTENDEDÚNETWORK_AUTHENTICATION_REQUIRED© r r r r sÞ € € € € € ðð ð$ð ð ð ð D€Hð>Ðà"€JØ$€Kð
:€BØ=€Gð;€Hð%IÐ!àH€JØN€MØG€OØ&€LØ.ÐØ€Gð8Ðð4ÐàD€EØK€Ið5€LðL€Ið4Ðð4Ðð4€Kð6€Lð.Ðð<€Ið)€Ið9Ðð1€Nð%CÐ!ð.€Oà2€HðA€Dð.€Oð,Ðð ÐðÐð-Ðð'(Ð#ð3ÐðA€Kð4Ðà6ÐØ
€FØ0ÐØ €IØ.ÐðDÐð4Ðð' Ð#ð%7Ð!ð(Ðð2€Oð7€KðDÐð@€Oð""Ðà<ÐØ6ÐØ(€MØ&€Lð'CÐ#Ð#Ð#r c óB — e Zd ZdZd„ Zd„ ZdZdZdZdZ dZ
d Zd
ZdZ
dZd
S )r zÏHTTP methods and descriptions
Methods from the following RFCs are all observed:
* RFC 7231: Hypertext Transfer Protocol (HTTP/1.1), obsoletes 2616
* RFC 5789: PATCH Method for HTTP
c óX — t | |¦ « }||_ ||_ |S r )Ústrr
r r )r r r r s r r
zHTTPMethod.__new__£ s( € Ý�kŠk˜#˜uÑ%Ô%ˆØˆŒØ%ˆŒØˆ
r c ó2 — d| j j ›d| j ›d�S )Nú<ú.ú>)Ú __class__r1 Ú_name_)Úselfs r Ú__repr__zHTTPMethod.__repr__© s € € Ø œNÔ3Ð3Ð3°T´[°[°[ÐAÐAr )ÚCONNECTz%Establish a connection to the server.)ÚDELETEzRemove the target.)ÚGETzRetrieve the target.)ÚHEADzBSame as GET, but only retrieve the status line and header section.)ÚOPTIONSz2Describe the communication options for the target.)ÚPATCHz(Apply partial modifications to a target.)ÚPOSTzPerform a message loop-back test along the path to the target.N)r1 r2 r3 r4 r
r} r~ r r€ r� r‚ rƒ r„ r… r† rr r r r r š si € € € € € ðð ðð ð ðBð Bð Bð A€GØ
+€FØ
'€CØW€DØM€GØ?€EØQ€DØ
?€CØU€E€E€Er N)Úenumr r r Ú__all__r r rr r r úr‰ sÐ ðØ /Ð /Ð /Ð /Ð /Ð /Ð /Ð /Ð /Ð /à˜Ð
&€ð €ˆgÑÔðPCð PCð PCð PCð PCñ PCô PCñ ÔðPCðf €ˆgÑÔðVð Vð Vð Vð Vñ Vô Vñ ÔðVð Vð Vr