Codes d'état HTTPDev
Sélection de codes HTTP avec sources
Entrées vérifiées le 2026-10-23. Sélection, pas le registre IANA complet. Un enregistrement ne signifie pas un statut de norme Internet. Les codes fournisseur dépendent du produit ; les noms historiques restent recherchables. IANA
⌘K
1xx
Informational
4 codes
| Code | Nom | Description |
|---|---|---|
| Continue | Enregistré IANAThe server has received the request headers and the client should proceed to send the request body. | |
| Switching Protocols | Enregistré IANAThe requester has asked the server to switch protocols and the server has agreed to do so. | |
| Processing | Enregistré IANAThe server has received and is processing the request, but no response is available yet. | |
| Early Hints | Enregistré IANAUsed to return some response headers before the final HTTP message. |
2xx
Success
10 codes
| Code | Nom | Description |
|---|---|---|
| OK | Enregistré IANAThe request has succeeded. The meaning of success depends on the HTTP method. | |
| Created | Enregistré IANAThe request has been fulfilled and a new resource has been created. | |
| Accepted | Enregistré IANAThe request has been accepted for processing, but processing has not been completed. | |
| Non-Authoritative Information | Enregistré IANAA transforming proxy changed the origin response content before forwarding it. | |
| No Content | Enregistré IANAThe server successfully processed the request and is not returning any content. | |
| Reset Content | Enregistré IANAThe server successfully processed the request and asks the requester to reset its document view. | |
| Partial Content | Enregistré IANAThe server is delivering only part of the resource due to a range header sent by the client. | |
| Multi-Status | Enregistré IANAThe response body contains multiple separate response codes for batch operations. | |
| Already Reported | Enregistré IANAThe members of a DAV binding have already been enumerated in a preceding part of the response. | |
| IM Used | Enregistré IANAThe server has fulfilled a request and the response is the result of instance manipulations on the current instance. |
3xx
Redirection
7 codes
| Code | Nom | Description |
|---|---|---|
| Multiple Choices | Enregistré IANAIndicates multiple options for the resource from which the client may choose. | |
| Moved Permanently | Enregistré IANAThis and all future requests should be directed to the given URI. | |
| Found | Enregistré IANAThe resource is temporarily located at a different URI. | |
| See Other | Enregistré IANAThe response to the request can be found under another URI using the GET method. | |
| Not Modified | Enregistré IANAThe resource has not been modified since the version specified by the request headers. | |
| Temporary Redirect | Enregistré IANAThe request should be repeated at another URI, but future requests should still use the original URI. | |
| Permanent Redirect | Enregistré IANAThe request and all future requests should be repeated using another URI, preserving the HTTP method. |
4xx
Client Error
40 codes
| Code | Nom | Description |
|---|---|---|
| Bad Request | Enregistré IANAThe server cannot process the request due to a client error, such as malformed syntax. | |
| Unauthorized | Enregistré IANAAuthentication is required and has failed or has not been provided. | |
| Payment Required | Enregistré IANAReserved for future use; HTTP does not define payment processing behavior for this code. | |
| Forbidden | Enregistré IANAThe server understood the request but refuses to authorize it. | |
| Not Found | Enregistré IANAThe requested resource could not be found but may be available in the future. | |
| Method Not Allowed | Enregistré IANAThe request method is not supported for the requested resource. | |
| Not Acceptable | Enregistré IANAThe server cannot produce a response matching the acceptable values in the request headers. | |
| Proxy Authentication Required | Enregistré IANAThe client must first authenticate itself with the proxy. | |
| Request Timeout | Enregistré IANAThe server timed out waiting for the request. | |
| Conflict | Enregistré IANAThe request could not be processed because of a conflict with the current state of the resource. | |
| Gone | Enregistré IANAThe resource requested was previously in use but is no longer available and will not be available again. | |
| Length Required | Enregistré IANAThe server refuses to accept the request without a defined Content-Length header. | |
| Precondition Failed | Enregistré IANAThe server does not meet one of the preconditions specified in the request headers. | |
| Content Too Large | Enregistré IANAThe request body is larger than the server is willing or able to process. | |
| URI Too Long | Enregistré IANAThe URI provided was too long for the server to process. | |
| Unsupported Media Type | Enregistré IANAThe request entity has a media type which the server or resource does not support. | |
| Range Not Satisfiable | Enregistré IANAThe client has asked for a portion of the file, but the server cannot supply that portion. | |
| Expectation Failed | Enregistré IANAThe server cannot meet the requirements of the Expect request-header field. | |
| I'm a Teapot | Réservé / inutiliséReserved as unused by RFC 9110. The historical teapot name is not a general HTTP error definition. | |
| Enhance Your Calm | Twitter/XCode fournisseur non standardDéfinition primaire non vérifiéeHistorical label retained for lookup. IANA leaves 420 unassigned; the former vendor definition has not been verified from an available primary source. | |
| Misdirected Request | Enregistré IANAThe request was directed at a server that is not able to produce a response. | |
| Unprocessable Content | Enregistré IANAThe request was well-formed but could not be followed due to semantic errors. | |
| Locked | Enregistré IANAThe resource that is being accessed is locked. | |
| Failed Dependency | Enregistré IANAThe request failed because it depended on another request that failed. | |
| Too Early | Enregistré IANAThe server is unwilling to risk processing a request that might be replayed. | |
| Upgrade Required | Enregistré IANAThe client should switch to a different protocol, such as TLS/1.3. | |
| Precondition Required | Enregistré IANAThe origin server requires the request to be conditional to prevent conflicts. | |
| Too Many Requests | Enregistré IANAThe user has sent too many requests in a given amount of time (rate limiting). | |
| Request Header Fields Too Large | Enregistré IANAThe server is unwilling to process the request because the header fields are too large. | |
| Login Timeout | IISCode fournisseur non standardA legacy Microsoft Exchange login error, documented for Email Router authentication; not a general HTTP session-expiry rule. | |
| No Response | nginxCode fournisseur non standardCloses the connection without sending any response, typically used to deny malicious requests. | |
| Retry With | IISCode fournisseur non standardMicrosoft WebDAV extension: more client information is needed before the request can be completed. | |
| Unavailable For Legal Reasons | Enregistré IANAThe server is denying access to the resource as a consequence of a legal demand. | |
| Client Closed Connection | AWSCode fournisseur non standardThe client closed the connection before the load balancer could send the request to the target. | |
| Too Many IP Addresses | AWSCode fournisseur non standardThe X-Forwarded-For header contains more than 30 IP addresses. | |
| Request Header Too Large | nginxCode fournisseur non standardThe request headers exceed the server's configured limit. | |
| SSL Certificate Error | nginxCode fournisseur non standardAn error occurred while verifying the client SSL certificate. | |
| SSL Certificate Required | nginxCode fournisseur non standardThe client did not provide a required SSL certificate. | |
| HTTP Request Sent to HTTPS Port | nginxCode fournisseur non standardA plain HTTP request was sent to an HTTPS port. | |
| Client Closed Request | nginxCode fournisseur non standardThe client closed the connection before the server could send a response. |
5xx
Server Error
21 codes
| Code | Nom | Description |
|---|---|---|
| Internal Server Error | Enregistré IANAA generic error message when the server encounters an unexpected condition. | |
| Not Implemented | Enregistré IANAThe server does not recognize the request method or lacks the ability to fulfill it. | |
| Bad Gateway | Enregistré IANAThe server, acting as a gateway or proxy, received an invalid response from the upstream server. | |
| Service Unavailable | Enregistré IANAThe server is temporarily unable to handle the request, due to overload or scheduled maintenance. | |
| Gateway Timeout | Enregistré IANAThe server, acting as a gateway or proxy, did not receive a timely response from the upstream server. | |
| HTTP Version Not Supported | Enregistré IANAThe server does not support the HTTP version used in the request. | |
| Variant Also Negotiates | Enregistré IANATransparent content negotiation for the request results in a circular reference. | |
| Insufficient Storage | Enregistré IANAThe server is unable to store the representation needed to complete the request. | |
| Loop Detected | Enregistré IANAThe server detected an infinite loop while processing the request. | |
| Not Extended | Obsolète / historiqueAn obsolete HTTP extension-framework code. Its defining experiment is Historic; do not treat it as a current extension requirement. | |
| Network Authentication Required | Enregistré IANAThe client needs to authenticate to gain network access (e.g., captive portal). | |
| Web Server Returns an Unknown Error | CloudflareCode fournisseur non standardThe origin server returned an empty, unknown, or unexpected response. | |
| Web Server Is Down | CloudflareCode fournisseur non standardThe origin server refused the connection. | |
| Connection Timed Out | CloudflareCode fournisseur non standardThe TCP handshake with the origin server timed out. | |
| Origin Is Unreachable | CloudflareCode fournisseur non standardCannot reach the origin server, possibly due to DNS resolution failure. | |
| A Timeout Occurred | CloudflareCode fournisseur non standardA TCP connection was established but the origin server did not reply in time. | |
| SSL Handshake Failed | CloudflareCode fournisseur non standardThe SSL handshake with the origin server failed. | |
| Invalid SSL Certificate | CloudflareCode fournisseur non standardCould not validate the SSL certificate on the origin server. | |
| Railgun Error | CloudflareObsolète / historiqueHistorical Railgun error label. Cloudflare retired Railgun in 2024; the linked IETF meeting material records the old code. | |
| Origin DNS Error | CloudflareCode fournisseur non standardCloudflare could not resolve the origin hostname. Consult the accompanying 1xxx error for details. | |
| Unauthorized | AWSCode fournisseur non standardThe identity provider returned an error code during authentication. |