Skip to main content

Enumeration: HttpStatus

Defined in: src/types/http/ResponseCodes.ts:10

Enumeration Members

Enumeration MemberValueDescriptionDefined in
Accepted202Name Accepted Description The request has been accepted for processing, but the processing has not been completed. See MDN: HTTP 202 Acceptedsrc/types/http/ResponseCodes.ts:73
AlreadyReported208Name AlreadyReported Description The members of a DAV binding have already been enumerated in a previous reply to this request. See MDN: HTTP 208 Already Reportedsrc/types/http/ResponseCodes.ts:127
BadGateway502Name BadGateway Description The server, while acting as a gateway or proxy, received an invalid response from the upstream server. See MDN: HTTP 502 Bad Gatewaysrc/types/http/ResponseCodes.ts:497
BadRequest400Name BadRequest Description The server cannot process the request due to client error (e.g., malformed request syntax). See MDN: HTTP 400 Bad Requestsrc/types/http/ResponseCodes.ts:218
Conflict409Name Conflict Description The request could not be completed due to a conflict with the current state of the resource. See MDN: HTTP 409 Conflictsrc/types/http/ResponseCodes.ts:299
Continue100Name Continue Description The server has received the request headers, and the client should proceed to send the request body. See MDN: HTTP 100 Continuesrc/types/http/ResponseCodes.ts:18
Created201Name Created Description The request has been fulfilled, resulting in the creation of a new resource. See MDN: HTTP 201 Createdsrc/types/http/ResponseCodes.ts:64
EarlyHints103Name EarlyHints Description The server is sending some response headers before the final response. See MDN: HTTP 103 Early Hintssrc/types/http/ResponseCodes.ts:45
ExpectationFailed417Name ExpectationFailed Description The server cannot meet the requirements of the Expect request-header field. See MDN: HTTP 417 Expectation Failedsrc/types/http/ResponseCodes.ts:371
FailedDependency424Name FailedDependency Description The request failed due to failure of a previous request. See MDN: HTTP 424 Failed Dependencysrc/types/http/ResponseCodes.ts:416
Forbidden403Name Forbidden Description The server understood the request, but refuses to authorize it. See MDN: HTTP 403 Forbiddensrc/types/http/ResponseCodes.ts:245
Found302Name Found Description The resource was found, but it might be temporarily under a different URI. See MDN: HTTP 302 Foundsrc/types/http/ResponseCodes.ts:164
GatewayTimeout504Name GatewayTimeout Description The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server or some other auxiliary server. See MDN: HTTP 504 Gateway Timeoutsrc/types/http/ResponseCodes.ts:515
Gone410Name Gone Description The requested resource is no longer available at the server and no forwarding address is known. See MDN: HTTP 410 Gonesrc/types/http/ResponseCodes.ts:308
HTTPVersionNotSupported505Name HTTPVersionNotSupported Description The server does not support the HTTP protocol version that was used in the request. See MDN: HTTP 505 HTTP Version Not Supportedsrc/types/http/ResponseCodes.ts:524
ImATeapot418Name ImATeapot Description Any attempt to instruct an teapot to brew coffee should result in the error "418 I'm a teapot." See MDN: HTTP 418 I'm a Teapotsrc/types/http/ResponseCodes.ts:380
IMUsed226Name IMUsed Description The server has fulfilled a request for the resource, and the response is delivered as a result of a previous request. See MDN: HTTP 226 IM Usedsrc/types/http/ResponseCodes.ts:136
InsufficientStorage507Name InsufficientStorage Description The server is unable to store the representation needed to complete the request. See MDN: HTTP 507 Insufficient Storagesrc/types/http/ResponseCodes.ts:542
InternalServerError500Name InternalServerError Description The server encountered an unexpected condition that prevented it from fulfilling the request. See MDN: HTTP 500 Internal Server Errorsrc/types/http/ResponseCodes.ts:479
LengthRequired411Name LengthRequired Description The server refuses to process the request because the Content-Length header field is not defined and the server requires it. See MDN: HTTP 411 Length Requiredsrc/types/http/ResponseCodes.ts:317
Locked423Name Locked Description The resource that is being accessed is locked. See MDN: HTTP 423 Lockedsrc/types/http/ResponseCodes.ts:407
LoopDetected508Name LoopDetected Description The server detected an infinite loop while processing the request. See MDN: HTTP 508 Loop Detectedsrc/types/http/ResponseCodes.ts:551
MethodNotAllowed405Name MethodNotAllowed Description The method specified in the request is not allowed for the resource identified by the request URI. See MDN: HTTP 405 Method Not Allowedsrc/types/http/ResponseCodes.ts:263
MisdirectedRequest421Name MisdirectedRequest Description The request was directed at a server that is not able to produce a response. See MDN: HTTP 421 Misdirected Requestsrc/types/http/ResponseCodes.ts:389
MovedPermanently301Name MovedPermanently Description This and all future requests should be directed to the given URI. See MDN: HTTP 301 Moved Permanentlysrc/types/http/ResponseCodes.ts:155
MultipleChoices300Name MultipleChoices Description The request has more than one possible response. The user or user agent can select one of them. See MDN: HTTP 300 Multiple Choicessrc/types/http/ResponseCodes.ts:146
MultiStatus207Name MultiStatus Description The response contains multiple status codes, each representing a different aspect of the request. See MDN: HTTP 207 Multi-Statussrc/types/http/ResponseCodes.ts:118
NetworkAuthenticationRequired511Name NetworkAuthenticationRequired Description The client needs to authenticate to gain network access. See MDN: HTTP 511 Network Authentication Requiredsrc/types/http/ResponseCodes.ts:569
NoContent204Name NoContent Description The server successfully processed the request, but is not returning any content. See MDN: HTTP 204 No Contentsrc/types/http/ResponseCodes.ts:91
NonAuthoritativeInformation203Name NonAuthoritativeInformation Description The request was successful, but the returned information may be from a cached copy. See MDN: HTTP 203 Non-Authoritative Informationsrc/types/http/ResponseCodes.ts:82
NotAcceptable406Name NotAcceptable Description The resource is only capable of generating content that is not acceptable according to the Accept headers sent in the request. See MDN: HTTP 406 Not Acceptablesrc/types/http/ResponseCodes.ts:272
NotExtended510Name NotExtended Description Further extensions to the request are required for the server to fulfill it. See MDN: HTTP 510 Not Extendedsrc/types/http/ResponseCodes.ts:560
NotFound404Name NotFound Description The server can't find the requested resource. See MDN: HTTP 404 Not Foundsrc/types/http/ResponseCodes.ts:254
NotImplemented501Name NotImplemented Description The server does not support the functionality required to fulfill the request. See MDN: HTTP 501 Not Implementedsrc/types/http/ResponseCodes.ts:488
NotModified304Name NotModified Description The resource has not been modified since the last request. See MDN: HTTP 304 Not Modifiedsrc/types/http/ResponseCodes.ts:182
OK200Name OK Description The request has succeeded. See MDN: HTTP 200 OKsrc/types/http/ResponseCodes.ts:55
PartialContent206Name PartialContent Description The server is delivering only part of the resource due to a range header sent by the client. See MDN: HTTP 206 Partial Contentsrc/types/http/ResponseCodes.ts:109
PayloadTooLarge413Name PayloadTooLarge Description The request is larger than the server is willing or able to process. See MDN: HTTP 413 Payload Too Largesrc/types/http/ResponseCodes.ts:335
PaymentRequired402Name PaymentRequired Description This code is reserved for future use. It is not currently used by HTTP. See MDN: HTTP 402 Payment Requiredsrc/types/http/ResponseCodes.ts:236
PermanentRedirect308Name PermanentRedirect Description The resource has permanently moved to a new URI. See MDN: HTTP 308 Permanent Redirectsrc/types/http/ResponseCodes.ts:209
PreconditionFailed412Name PreconditionFailed Description The server does not meet one of the preconditions that the requester put on the request. See MDN: HTTP 412 Precondition Failedsrc/types/http/ResponseCodes.ts:326
PreconditionRequired428Name PreconditionRequired Description The origin server requires the request to be conditional. See MDN: HTTP 428 Precondition Requiredsrc/types/http/ResponseCodes.ts:443
Processing102Name Processing Description The server has received and is processing the request, but no response is available yet. See MDN: HTTP 102 Processingsrc/types/http/ResponseCodes.ts:36
ProxyAuthenticationRequired407Name ProxyAuthenticationRequired Description The client must first authenticate itself with the proxy. See MDN: HTTP 407 Proxy Authentication Requiredsrc/types/http/ResponseCodes.ts:281
RangeNotSatisfiable416Name RangeNotSatisfiable Description The client has asked for a portion of the file, but the server cannot supply that portion. See MDN: HTTP 416 Range Not Satisfiablesrc/types/http/ResponseCodes.ts:362
RequestHeaderFieldsTooLarge431Name RequestHeaderFieldsTooLarge Description The server is unwilling to process the request because its header fields are too large. See MDN: HTTP 431 Request Header Fields Too Largesrc/types/http/ResponseCodes.ts:461
RequestTimeout408Name RequestTimeout Description The server did not receive a complete request in time. See MDN: HTTP 408 Request Timeoutsrc/types/http/ResponseCodes.ts:290
ResetContent205Name ResetContent Description The server successfully processed the request, but is not returning any content, and the client should reset the document view. See MDN: HTTP 205 Reset Contentsrc/types/http/ResponseCodes.ts:100
SeeOther303Name SeeOther Description The response to the request can be found under a different URI using a GET method. See MDN: HTTP 303 See Othersrc/types/http/ResponseCodes.ts:173
ServiceUnavailable503Name ServiceUnavailable Description The server is currently unable to handle the request due to temporary overloading or maintenance of the server. See MDN: HTTP 503 Service Unavailablesrc/types/http/ResponseCodes.ts:506
SwitchingProtocols101Name SwitchingProtocols Description The server is willing to comply with the client's request to switch protocols. See MDN: HTTP 101 Switching Protocolssrc/types/http/ResponseCodes.ts:27
TemporaryRedirect307Name TemporaryRedirect Description The server is redirecting the request temporarily to a different URI. See MDN: HTTP 307 Temporary Redirectsrc/types/http/ResponseCodes.ts:200
TooEarly425Name TooEarly Description The server is unwilling to risk processing a request that might be replayed. See MDN: HTTP 425 Too Earlysrc/types/http/ResponseCodes.ts:425
TooManyRequests429Name TooManyRequests Description The user has sent too many requests in a given amount of time. See MDN: HTTP 429 Too Many Requestssrc/types/http/ResponseCodes.ts:452
Unauthorized401Name Unauthorized Description The request requires user authentication. See MDN: HTTP 401 Unauthorizedsrc/types/http/ResponseCodes.ts:227
UnavailableForLegalReasons451Name UnavailableForLegalReasons Description The resource is unavailable for legal reasons. See MDN: HTTP 451 Unavailable For Legal Reasonssrc/types/http/ResponseCodes.ts:470
UnprocessableEntity422Name UnprocessableEntity Description The server understands the content type of the request entity, but was unable to process the contained instructions. See MDN: HTTP 422 Unprocessable Entitysrc/types/http/ResponseCodes.ts:398
UnsupportedMediaType415Name UnsupportedMediaType Description The server does not support the media type transmitted in the request. See MDN: HTTP 415 Unsupported Media Typesrc/types/http/ResponseCodes.ts:353
UpgradeRequired426Name UpgradeRequired Description The client should switch to a different protocol. See MDN: HTTP 426 Upgrade Requiredsrc/types/http/ResponseCodes.ts:434
URITooLong414Name URITooLong Description The URI provided was too long for the server to process. See MDN: HTTP 414 URI Too Longsrc/types/http/ResponseCodes.ts:344
UseProxy305Name UseProxy Description The requested resource is only available through a proxy. See MDN: HTTP 305 Use Proxysrc/types/http/ResponseCodes.ts:191
VariantAlsoNegotiates506Name VariantAlsoNegotiates Description The server has an internal configuration error: transparent content negotiation for the request results in a circular reference. See MDN: HTTP 506 Variant Also Negotiatessrc/types/http/ResponseCodes.ts:533