class codes(IntEnum): (source)
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 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
Class Method | get |
Undocumented |
Class Method | is |
Returns `True` for 4xx status codes, `False` otherwise. |
Class Method | is |
Returns `True` for 4xx or 5xx status codes, `False` otherwise. |
Class Method | is |
Returns `True` for 1xx status codes, `False` otherwise. |
Class Method | is |
Returns `True` for 3xx status codes, `False` otherwise. |
Class Method | is |
Returns `True` for 5xx status codes, `False` otherwise. |
Class Method | is |
Returns `True` for 2xx status codes, `False` otherwise. |
Method | __new__ |
Undocumented |
Method | __str__ |
Undocumented |
Constant | ACCEPTED |
Undocumented |
Constant | ALREADY |
Undocumented |
Constant | BAD |
Undocumented |
Constant | BAD |
Undocumented |
Constant | CONFLICT |
Undocumented |
Constant | CONTINUE |
Undocumented |
Constant | CREATED |
Undocumented |
Constant | EARLY |
Undocumented |
Constant | EXPECTATION |
Undocumented |
Constant | FAILED |
Undocumented |
Constant | FORBIDDEN |
Undocumented |
Constant | FOUND |
Undocumented |
Constant | GATEWAY |
Undocumented |
Constant | GONE |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | IM |
Undocumented |
Constant | IM |
Undocumented |
Constant | INSUFFICIENT |
Undocumented |
Constant | INTERNAL |
Undocumented |
Constant | LENGTH |
Undocumented |
Constant | LOCKED |
Undocumented |
Constant | LOOP |
Undocumented |
Constant | METHOD |
Undocumented |
Constant | MISDIRECTED |
Undocumented |
Constant | MOVED |
Undocumented |
Constant | MULTI |
Undocumented |
Constant | MULTIPLE |
Undocumented |
Constant | NETWORK |
Undocumented |
Constant | NO |
Undocumented |
Constant | NON |
Undocumented |
Constant | NOT |
Undocumented |
Constant | NOT |
Undocumented |
Constant | NOT |
Undocumented |
Constant | NOT |
Undocumented |
Constant | NOT |
Undocumented |
Constant | OK |
Undocumented |
Constant | PARTIAL |
Undocumented |
Constant | PAYMENT |
Undocumented |
Constant | PERMANENT |
Undocumented |
Constant | PRECONDITION |
Undocumented |
Constant | PRECONDITION |
Undocumented |
Constant | PROCESSING |
Undocumented |
Constant | PROXY |
Undocumented |
Constant | REQUEST |
Undocumented |
Constant | REQUEST |
Undocumented |
Constant | REQUEST |
Undocumented |
Constant | REQUEST |
Undocumented |
Constant | REQUESTED |
Undocumented |
Constant | RESET |
Undocumented |
Constant | SEE |
Undocumented |
Constant | SERVICE |
Undocumented |
Constant | SWITCHING |
Undocumented |
Constant | TEMPORARY |
Undocumented |
Constant | TOO |
Undocumented |
Constant | TOO |
Undocumented |
Constant | UNAUTHORIZED |
Undocumented |
Constant | UNAVAILABLE |
Undocumented |
Constant | UNPROCESSABLE |
Undocumented |
Constant | UNSUPPORTED |
Undocumented |
Constant | UPGRADE |
Undocumented |
Constant | USE |
Undocumented |
Constant | VARIANT |
Undocumented |