http status codes
http response status codes
| code | name | description |
|---|---|---|
| ── 1xx informational ── | ||
| 100 | Continue | The server has received request headers; the client should send the request body. |
| 101 | Switching Protocols | The server is switching protocols per the client's upgrade request. |
| 102 | Processing | The server has accepted the request but has not yet completed it (WebDAV). |
| 103 | Early Hints | Used to return preliminary response headers before the final response. |
| ── 2xx success ── | ||
| 200 | OK | Standard response for a successful request. |
| 201 | Created | The request succeeded and a new resource was created. |
| 202 | Accepted | The request has been accepted for processing but is not yet complete. |
| 203 | Non-Authoritative Information | The returned metadata is from a local or third-party copy. |
| 204 | No Content | The server processed the request and is not returning any content. |
| 205 | Reset Content | The server processed the request; client should reset the document view. |
| 206 | Partial Content | The server is delivering only part of the resource (range request). |
| 207 | Multi-Status | The body contains multiple separate status codes (WebDAV). |
| 208 | Already Reported | The members of a DAV binding have already been enumerated. |
| 226 | IM Used | The response is a representation of the result of instance manipulations. |
| ── 3xx redirection ── | ||
| 300 | Multiple Choices | Multiple options for the resource that the client may follow. |
| 301 | Moved Permanently | The resource has been assigned a new permanent URI. |
| 302 | Found | The resource resides temporarily under a different URI. |
| 303 | See Other | The response can be found under another URI using GET. |
| 304 | Not Modified | The resource has not been modified since the version specified by request headers. |
| 305 | Use Proxy | The requested resource must be accessed through the specified proxy (deprecated). |
| 307 | Temporary Redirect | Repeat the request to another URI; method and body must not change. |
| 308 | Permanent Redirect | The resource has moved permanently; method and body must not change. |
| ── 4xx client error ── | ||
| 400 | Bad Request | The server cannot process the request due to a client error. |
| 401 | Unauthorized | Authentication is required and has failed or has not been provided. |
| 402 | Payment Required | Reserved for future use; sometimes used by digital payment systems. |
| 403 | Forbidden | The server understood the request but refuses to authorize it. |
| 404 | Not Found | The requested resource could not be found. |
| 405 | Method Not Allowed | The request method is not supported for the resource. |
| 406 | Not Acceptable | The resource cannot produce content matching the Accept headers. |
| 407 | Proxy Authentication Required | The client must authenticate with the proxy. |
| 408 | Request Timeout | The server timed out waiting for the request. |
| 409 | Conflict | The request conflicts with the current state of the resource. |
| 410 | Gone | The resource is no longer available and will not be available again. |
| 411 | Length Required | The request did not specify the length of its content. |
| 412 | Precondition Failed | A precondition given in the request headers evaluated to false. |
| 413 | Content Too Large | The request body is larger than the server is willing to process. |
| 414 | URI Too Long | The URI provided was too long for the server to process. |
| 415 | Unsupported Media Type | The request body uses a media type the server does not support. |
| 416 | Range Not Satisfiable | The requested range cannot be satisfied for the resource. |
| 417 | Expectation Failed | The server cannot meet the requirements of the Expect header. |
| 418 | I'm a teapot | The server refuses to brew coffee with a teapot (RFC 2324). |
| 421 | Misdirected Request | The request was directed at a server that cannot produce a response. |
| 422 | Unprocessable Content | The request was well-formed but had semantic errors. |
| 423 | Locked | The resource being accessed is locked (WebDAV). |
| 424 | Failed Dependency | The request failed because a previous request failed (WebDAV). |
| 425 | Too Early | The server is unwilling to risk processing a possibly replayed request. |
| 426 | Upgrade Required | The client should switch to a different protocol. |
| 428 | Precondition Required | The origin server requires the request to be conditional. |
| 429 | Too Many Requests | The user has sent too many requests in a given period of time. |
| 431 | Request Header Fields Too Large | The server refuses to process the request because headers are too large. |
| 451 | Unavailable For Legal Reasons | Access to the resource is denied for legal reasons. |
| ── 5xx server error ── | ||
| 500 | Internal Server Error | A generic error message; the server encountered an unexpected condition. |
| 501 | Not Implemented | The server does not recognize the request method or lacks the ability to fulfil it. |
| 502 | Bad Gateway | The server, acting as a gateway, received an invalid response from upstream. |
| 503 | Service Unavailable | The server is currently unavailable (overloaded or down for maintenance). |
| 504 | Gateway Timeout | The server, acting as a gateway, did not receive a timely response from upstream. |
| 505 | HTTP Version Not Supported | The server does not support the HTTP protocol version used. |
| 506 | Variant Also Negotiates | Transparent content negotiation resulted in a circular reference. |
| 507 | Insufficient Storage | The server is unable to store the representation needed (WebDAV). |
| 508 | Loop Detected | The server detected an infinite loop while processing the request (WebDAV). |
| 510 | Not Extended | Further extensions to the request are required for the server to fulfil it. |
| 511 | Network Authentication Required | The client must authenticate to gain network access. |