# HTTP Status Codes

> https://http-status.org/llms.md

## Status Codes

### 1xx Informational
- [100 Continue](/docs/100.md) — Interim response: the server received the request headers and invites the client to send the body.
- [101 Switching Protocols](/docs/101.md) — Interim response: the server agrees to switch to a different protocol requested with Upgrade.
- [102 Processing](/docs/102.md) — Interim WebDAV response: the server is still processing the request and no final status is ready yet.
- [103 Early Hints](/docs/103.md) — Interim response: the server sends preload or connection hints before the final response is ready.

### 2xx Success
- [200 OK](/docs/200.md) — Request has succeeded; payload depends on request method.
- [201 Created](/docs/201.md) — Request succeeded and created a new resource.
- [202 Accepted](/docs/202.md) — Request accepted for processing but action not yet enacted.
- [203 Non-Authoritative Information](/docs/203.md) — The request succeeded, but the returned representation was modified by a transforming proxy.
- [204 No Content](/docs/204.md) — Request succeeded and there is no response content to send.
- [205 Reset Content](/docs/205.md) — Request succeeded; instructs client to reset the document that caused the request.
- [206 Partial Content](/docs/206.md) — Sent in response to a valid Range request; body contains one or more requested ranges.
- [207 Multi-Status](/docs/207.md) — Multiple operations with mixed success/failure results (WebDAV).
- [208 Already Reported](/docs/208.md) — WebDAV optimization: inside a multi-status response, this binding was already reported earlier.
- [226 IM Used](/docs/226.md) — The server applied one or more instance manipulations, such as delta encoding, to produce the response.

### 3xx Redirection
- [300 Multiple Choices](/docs/300.md) — Multiple representations or targets are available, and the client should choose among them.
- [301 Moved Permanently](/docs/301.md) — Permanent redirect; future requests should target the new URI, but older clients may rewrite POST to GET.
- [302 Found](/docs/302.md) — Temporary redirect; keep using the original URI, but some clients may rewrite POST to GET.
- [303 See Other](/docs/303.md) — Redirects the client to a different URI for a follow-up retrieval using GET or HEAD.
- [304 Not Modified](/docs/304.md) — Conditional GET or HEAD matched the current representation, so the client should reuse its cached copy.
- [305 Use Proxy](/docs/305.md) — Historical and deprecated: told the client to access the resource through a proxy named in Location.
- [306 Unused](/docs/306.md) — Reserved status code with no current semantics.
- [307 Temporary Redirect](/docs/307.md) — Temporary redirect that preserves the original request method and body.
- [308 Permanent Redirect](/docs/308.md) — Permanent redirect that preserves the original request method and body.

### 4xx Client Error
- [400 Bad Request](/docs/400.md) — Client sent invalid syntax or cannot be processed as-is.
- [401 Unauthorized](/docs/401.md) — Authentication credentials are missing, invalid, or expired.
- [402 Payment Required](/docs/402.md) — Reserved for future use and nonstandard in practice; some APIs still use it for billing-related restrictions.
- [403 Forbidden](/docs/403.md) — The server understood the request but refuses to fulfill it; re-authenticating usually does not help.
- [404 Not Found](/docs/404.md) — Resource does not exist or its existence is intentionally not exposed.
- [405 Method Not Allowed](/docs/405.md) — Method known by server but not supported by the target resource; include Allow header.
- [406 Not Acceptable](/docs/406.md) — Server cannot produce a response matching the Accept headers.
- [407 Proxy Authentication Required](/docs/407.md) — Client must authenticate with a proxy before making the request.
- [408 Request Timeout](/docs/408.md) — Server timed out waiting for the client's request.
- [409 Conflict](/docs/409.md) — State conflict preventing completion (version, uniqueness).
- [410 Gone](/docs/410.md) — Resource deliberately removed and is not expected to return.
- [411 Length Required](/docs/411.md) — Server refuses to accept the request without a defined Content-Length.
- [412 Precondition Failed](/docs/412.md) — One or more conditions given in request header fields evaluated to false by the server.
- [413 Content Too Large](/docs/413.md) — Request entity is larger than limits defined by the server.
- [414 URI Too Long](/docs/414.md) — The URI is longer than the server is willing to interpret.
- [415 Unsupported Media Type](/docs/415.md) — The request payload's media type is not supported by the server or resource.
- [416 Range Not Satisfiable](/docs/416.md) — The requested Range cannot be fulfilled; it's outside the target size.
- [417 Expectation Failed](/docs/417.md) — The expectation given in the Expect header could not be met.
- [418 I'm a teapot](/docs/418.md) — Joke status from the teapot RFC; RFC 9110 reserves 418 without assigning normal semantics.
- [421 Misdirected Request](/docs/421.md) — Request was directed to a server that cannot produce a response.
- [422 Unprocessable Content](/docs/422.md) — The request content is well-formed and understood, but the server cannot process the contained instructions.
- [423 Locked](/docs/423.md) — The resource is locked and cannot be accessed or modified (WebDAV).
- [424 Failed Dependency](/docs/424.md) — The request failed due to failure of a previous request in the same transaction (WebDAV).
- [425 Too Early](/docs/425.md) — Server is unwilling to risk processing a request that might be replayed.
- [426 Upgrade Required](/docs/426.md) — Client should switch to a different protocol as indicated by the Upgrade header.
- [428 Precondition Required](/docs/428.md) — The origin server requires the request to be conditional (RFC 6585).
- [429 Too Many Requests](/docs/429.md) — Client sent too many requests in a given amount of time (rate limiting).
- [431 Request Header Fields Too Large](/docs/431.md) — Server is unwilling to process the request because its header fields are too large.
- [451 Unavailable For Legal Reasons](/docs/451.md) — The user agent requested a resource that cannot legally be provided.

### 5xx Server Error
- [500 Internal Server Error](/docs/500.md) — Generic server fault; unexpected condition.
- [501 Not Implemented](/docs/501.md) — Server does not support the requested method or required functionality.
- [502 Bad Gateway](/docs/502.md) — The server, while acting as a gateway or proxy, received an invalid response from the upstream server.
- [503 Service Unavailable](/docs/503.md) — Server not ready to handle the request (maintenance or overload).
- [504 Gateway Timeout](/docs/504.md) — Server, acting as a gateway or proxy, did not receive a timely response from upstream.
- [505 HTTP Version Not Supported](/docs/505.md) — Server does not support the HTTP protocol version used in the request.
- [506 Variant Also Negotiates](/docs/506.md) — Transparent content negotiation is misconfigured and produced a circular variant reference.
- [507 Insufficient Storage](/docs/507.md) — The server is unable to store the representation needed to complete the request (WebDAV).
- [508 Loop Detected](/docs/508.md) — The server detected an infinite loop while processing the request (WebDAV).
- [510 Not Extended](/docs/510.md) — Further extensions to the request are required for it to be fulfilled.
- [511 Network Authentication Required](/docs/511.md) — Client needs to authenticate to gain network access.

