HttpStatusCode Enum

The status code for the operation.

Inheritance
builtins.str
HttpStatusCode
HttpStatusCode

Constructor

HttpStatusCode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Fields

ACCEPTED
BAD_GATEWAY
BAD_REQUEST
CONFLICT
CONTINUE_ENUM
CREATED
EXPECTATION_FAILED
FORBIDDEN
GATEWAY_TIMEOUT
GONE
HTTP_VERSION_NOT_SUPPORTED
INTERNAL_SERVER_ERROR
LENGTH_REQUIRED
METHOD_NOT_ALLOWED
MOVED_PERMANENTLY
MULTIPLE_CHOICES
NON_AUTHORITATIVE_INFORMATION
NOT_ACCEPTABLE
NOT_FOUND
NOT_IMPLEMENTED
NOT_MODIFIED
NO_CONTENT
OK
PARTIAL_CONTENT
PAYMENT_REQUIRED
PRECONDITION_FAILED
PROXY_AUTHENTICATION_REQUIRED
REDIRECT
REQUESTED_RANGE_NOT_SATISFIABLE
REQUEST_ENTITY_TOO_LARGE
REQUEST_TIMEOUT
REQUEST_URI_TOO_LONG
RESET_CONTENT
SEE_OTHER
SERVICE_UNAVAILABLE
SWITCHING_PROTOCOLS
TEMPORARY_REDIRECT
UNAUTHORIZED
UNSUPPORTED_MEDIA_TYPE
UNUSED
UPGRADE_REQUIRED
USE_PROXY