共用方式為


HttpStatusDescriptions 類別

HTTP 狀態原因的常數。

繼承
builtins.object
HttpStatusDescriptions

建構函式

HttpStatusDescriptions()

屬性

Accepted

Accepted = 'Accepted'

BadGateway

BadGateway = 'Bad Gateway'

BadRequest

BadRequest = 'Bad Request'

Conflict

Conflict = 'Conflict'

Created

Created = 'Created'

Forbidden

Forbidden = 'Forbidden'

GatewayTimeout

GatewayTimeout = 'Gateway timed out'

Gone

Gone = 'Gone'

InternalServerError

InternalServerError = 'Internal Server Error'

LengthRequired

LengthRequired = 'Length Required'

MethodNotAllowed

MethodNotAllowed = 'MethodNotAllowed'

NoContent

NoContent = 'No Content'

NotAcceptable

NotAcceptable = 'Not Acceptable'

NotFound

NotFound = 'Not Found'

NotModified

NotModified = 'Not Modified'

OK

OK = 'Ok'

PreconditionFailed

PreconditionFailed = 'Precondition Failed'

RequestEntityTooLarge

RequestEntityTooLarge = 'Request Entity Too Large'

RequestTimeout

RequestTimeout = 'Request timed out'

RetryWith

RetryWith = 'Retry the request'

ServiceUnavailable

ServiceUnavailable = 'Service Unavailable'

TooManyRequests

TooManyRequests = 'Too Many Requests'

Unauthorized

Unauthorized = 'Unauthorized'

UnsupportedMediaType

UnsupportedMediaType = 'Unsupported Media Type'