Skip to main content

Module codes

Module codes 

Source
Expand description

Defines all HTTP status code wrappers.

Structs§

BadGateway
502 Bad Gateway
BadRequest
400 Bad Request
Conflict
409 Conflict
ExpectationFailed
417 Expectation Failed
FailedDependency
424 Failed Dependency
Forbidden
403 Forbidden
GatewayTimeout
504 Gateway Timeout
Gone
410 Gone
HttpVersionNotSupported
505 HTTP Version Not Supported
ImATeapot
418 I’m a teapot
InsufficientStorage
507 Insufficient Storage
Internal
500 Internal Server Error
LengthRequired
411 Length Required
Locked
423 Locked
LoopDetected
508 Loop Detected
MethodNotAllowed
405 Method Not Allowed
MisdirectedRequest
421 Misdirected Request
NetworkAuthenticationRequired
511 Network Authentication Required
NotAcceptable
406 Not Acceptable
NotExtended
510 Not Extended
NotFound
404 Not Found
NotImplemented
501 Not Implemented
PayloadTooLarge
413 Payload Too Large
PaymentRequired
402 Payment Required
PreconditionFailed
412 Precondition Failed
PreconditionRequired
428 Precondition Required
ProxyAuthenticationRequired
407 Proxy Authentication Required
RangeNotSatisfiable
416 Range Not Satisfiable
RequestHeaderFieldsTooLarge
431 Request Header Fields Too Large
RequestTimeout
408 Request Timeout
ServiceUnavailable
503 Service Unavailable
TooEarly
425 Too Early
TooManyRequests
429 Too Many Requests
Unauthorized
401 Unauthorized
UnavailableForLegalReasons
451 Unavailable For Legal Reasons
UnprocessableEntity
422 Unprocessable Entity
UnsupportedMediaType
415 Unsupported Media Type
UpgradeRequired
426 Upgrade Required
UriTooLong
414 URI Too Long
VariantAlsoNegotiates
506 Variant Also Negotiates