xL iddlmZddlmZdgZGddeZeD]*Zeeejje e,y)) annotations)IntEnumcodesceZdZdZdJdKdZdLdZedMdZedNdZedNdZ edNdZ edNdZ edNd Z edNd Z d Zd Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"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-Z0d.Z1d/Z2d0Z3d1Z4d2Z5d3Z6d4Z7d5Z8d6Z9d7Z:d8Z;d9ZdZAd?ZBd@ZCdAZDdBZEdCZFdDZGdEZHdFZIdGZJdHZKyI)OraGHTTP 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 7540: Hypertext Transfer Protocol Version 2 (HTTP/2) * RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0) * RFC 7725: An HTTP Status Code to Report Legal Obstacles * RFC 8297: An HTTP Status Code for Indicating Hints * RFC 8470: Using Early Data in HTTP cNtj||}||_||_|SN)int__new___value_phrase)clsvaluer objs Y/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/httpx/_status_codes.pyr z codes.__new__s%kk#u%   c,t|jSr)strr)selfs r__str__z codes.__str__#s4::rcL t|jS#t$rYywxYw)N)rr ValueErrorr rs rget_reason_phrasezcodes.get_reason_phrase&s) <&& &  s  ##c"d|cxkxrdkScS)zI Returns `True` for 1xx status codes, `False` otherwise. drs ris_informationalzcodes.is_informational- e"s""""rc"d|cxkxrdkScS)zI Returns `True` for 2xx status codes, `False` otherwise. i+rrs r is_successzcodes.is_success4r rc"d|cxkxrdkScS)zI Returns `True` for 3xx status codes, `False` otherwise. ,irrs r is_redirectzcodes.is_redirect;r rc"d|cxkxrdkScS)zI Returns `True` for 4xx status codes, `False` otherwise. irrs ris_client_errorzcodes.is_client_errorBr rc"d|cxkxrdkScS)zI Returns `True` for 5xx status codes, `False` otherwise. Wrrs ris_server_errorzcodes.is_server_errorIr rc"d|cxkxrdkScS)zP Returns `True` for 4xx or 5xx status codes, `False` otherwise. r(r,rrs ris_errorzcodes.is_errorPr r)rContinue)ezSwitching Protocols)f Processing)gz Early Hints)r"OK)Created)Accepted)zNon-Authoritative Information)z No Content)z Reset Content)zPartial Content)z Multi-Status)zAlready Reported)zIM Used)r%zMultiple Choices)i-zMoved Permanently)i.Found)i/z See Other)i0z Not Modified)i1z Use Proxy)i3zTemporary Redirect)i4zPermanent Redirect)r(z Bad Request)i Unauthorized)izPayment Required)i Forbidden)iz Not Found)izMethod Not Allowed)izNot Acceptable)izProxy Authentication Required)izRequest Timeout)iConflict)iGone)izLength Required)izPrecondition Failed)izRequest Entity Too Large)izRequest-URI Too Long)izUnsupported Media Type)izRequested Range Not Satisfiable)izExpectation Failed)iz I'm a teapot)izMisdirected Request)izUnprocessable Entity)iLocked)izFailed Dependency)iz Too Early)izUpgrade Required)izPrecondition Required)izToo Many Requests)izRequest Header Fields Too Large)izUnavailable For Legal Reasons)r+zInternal Server Error)izNot Implemented)iz Bad Gateway)izService Unavailable)izGateway Timeout)izHTTP Version Not Supported)izVariant Also Negotiates)izInsufficient Storage)iz Loop Detected)iz Not Extended)izNetwork Authentication RequiredN)r)rr r rreturnr)rGr)rr rGr)rr rGbool)L__name__ __module__ __qualname____doc__r r classmethodrrr#r&r)r-r/CONTINUESWITCHING_PROTOCOLS PROCESSING EARLY_HINTSr5CREATEDACCEPTEDNON_AUTHORITATIVE_INFORMATION NO_CONTENT RESET_CONTENTPARTIAL_CONTENT MULTI_STATUSALREADY_REPORTEDIM_USEDMULTIPLE_CHOICESMOVED_PERMANENTLYFOUND SEE_OTHER NOT_MODIFIED USE_PROXYTEMPORARY_REDIRECTPERMANENT_REDIRECT BAD_REQUEST UNAUTHORIZEDPAYMENT_REQUIRED FORBIDDEN NOT_FOUNDMETHOD_NOT_ALLOWEDNOT_ACCEPTABLEPROXY_AUTHENTICATION_REQUIREDREQUEST_TIMEOUTCONFLICTGONELENGTH_REQUIREDPRECONDITION_FAILEDREQUEST_ENTITY_TOO_LARGEREQUEST_URI_TOO_LONGUNSUPPORTED_MEDIA_TYPEREQUESTED_RANGE_NOT_SATISFIABLEEXPECTATION_FAILED IM_A_TEAPOTMISDIRECTED_REQUESTUNPROCESSABLE_ENTITYLOCKEDFAILED_DEPENDENCY TOO_EARLYUPGRADE_REQUIREDPRECONDITION_REQUIREDTOO_MANY_REQUESTSREQUEST_HEADER_FIELDS_TOO_LARGEUNAVAILABLE_FOR_LEGAL_REASONSINTERNAL_SERVER_ERRORNOT_IMPLEMENTED BAD_GATEWAYSERVICE_UNAVAILABLEGATEWAY_TIMEOUTHTTP_VERSION_NOT_SUPPORTEDVARIANT_ALSO_NEGOTIATESINSUFFICIENT_STORAGE LOOP_DETECTED NOT_EXTENDEDNETWORK_AUTHENTICATION_REQUIREDrrrrrs& ## ## ## ## ## ##H4"J$K BGH$H!"J(M,O&L.G/0 E I&L I22%K&L. I I2*N$H!,OH D,O4>6:&L#2%K46 F0 I.80&L#$H!9,O$K4,O!B<6(M&L&L#rN) __future__renumr__all__rcodesetattr_name_lowerr rrrrsQ" )UMGUMr 3D E4;;$$&D 23r