Aller au contenu principal

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

1xx

Informational

4 codes
CodeNomDescription
ContinueEnregistré IANAThe server has received the request headers and the client should proceed to send the request body.
Switching ProtocolsEnregistré IANAThe requester has asked the server to switch protocols and the server has agreed to do so.
ProcessingEnregistré IANAThe server has received and is processing the request, but no response is available yet.
Early HintsEnregistré IANAUsed to return some response headers before the final HTTP message.
2xx

Success

10 codes
CodeNomDescription
OKEnregistré IANAThe request has succeeded. The meaning of success depends on the HTTP method.
CreatedEnregistré IANAThe request has been fulfilled and a new resource has been created.
AcceptedEnregistré IANAThe request has been accepted for processing, but processing has not been completed.
Non-Authoritative InformationEnregistré IANAA transforming proxy changed the origin response content before forwarding it.
No ContentEnregistré IANAThe server successfully processed the request and is not returning any content.
Reset ContentEnregistré IANAThe server successfully processed the request and asks the requester to reset its document view.
Partial ContentEnregistré IANAThe server is delivering only part of the resource due to a range header sent by the client.
Multi-StatusEnregistré IANAThe response body contains multiple separate response codes for batch operations.
Already ReportedEnregistré IANAThe members of a DAV binding have already been enumerated in a preceding part of the response.
IM UsedEnregistré IANAThe server has fulfilled a request and the response is the result of instance manipulations on the current instance.
3xx

Redirection

7 codes
CodeNomDescription
Multiple ChoicesEnregistré IANAIndicates multiple options for the resource from which the client may choose.
Moved PermanentlyEnregistré IANAThis and all future requests should be directed to the given URI.
FoundEnregistré IANAThe resource is temporarily located at a different URI.
See OtherEnregistré IANAThe response to the request can be found under another URI using the GET method.
Not ModifiedEnregistré IANAThe resource has not been modified since the version specified by the request headers.
Temporary RedirectEnregistré IANAThe request should be repeated at another URI, but future requests should still use the original URI.
Permanent RedirectEnregistré IANAThe request and all future requests should be repeated using another URI, preserving the HTTP method.
4xx

Client Error

40 codes
CodeNomDescription
Bad RequestEnregistré IANAThe server cannot process the request due to a client error, such as malformed syntax.
UnauthorizedEnregistré IANAAuthentication is required and has failed or has not been provided.
Payment RequiredEnregistré IANAReserved for future use; HTTP does not define payment processing behavior for this code.
ForbiddenEnregistré IANAThe server understood the request but refuses to authorize it.
Not FoundEnregistré IANAThe requested resource could not be found but may be available in the future.
Method Not AllowedEnregistré IANAThe request method is not supported for the requested resource.
Not AcceptableEnregistré IANAThe server cannot produce a response matching the acceptable values in the request headers.
Proxy Authentication RequiredEnregistré IANAThe client must first authenticate itself with the proxy.
Request TimeoutEnregistré IANAThe server timed out waiting for the request.
ConflictEnregistré IANAThe request could not be processed because of a conflict with the current state of the resource.
GoneEnregistré IANAThe resource requested was previously in use but is no longer available and will not be available again.
Length RequiredEnregistré IANAThe server refuses to accept the request without a defined Content-Length header.
Precondition FailedEnregistré IANAThe server does not meet one of the preconditions specified in the request headers.
Content Too LargeEnregistré IANAThe request body is larger than the server is willing or able to process.
URI Too LongEnregistré IANAThe URI provided was too long for the server to process.
Unsupported Media TypeEnregistré IANAThe request entity has a media type which the server or resource does not support.
Range Not SatisfiableEnregistré IANAThe client has asked for a portion of the file, but the server cannot supply that portion.
Expectation FailedEnregistré IANAThe server cannot meet the requirements of the Expect request-header field.
I'm a TeapotRéservé / inutiliséReserved as unused by RFC 9110. The historical teapot name is not a general HTTP error definition.
Enhance Your CalmTwitter/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 RequestEnregistré IANAThe request was directed at a server that is not able to produce a response.
Unprocessable ContentEnregistré IANAThe request was well-formed but could not be followed due to semantic errors.
LockedEnregistré IANAThe resource that is being accessed is locked.
Failed DependencyEnregistré IANAThe request failed because it depended on another request that failed.
Too EarlyEnregistré IANAThe server is unwilling to risk processing a request that might be replayed.
Upgrade RequiredEnregistré IANAThe client should switch to a different protocol, such as TLS/1.3.
Precondition RequiredEnregistré IANAThe origin server requires the request to be conditional to prevent conflicts.
Too Many RequestsEnregistré IANAThe user has sent too many requests in a given amount of time (rate limiting).
Request Header Fields Too LargeEnregistré IANAThe server is unwilling to process the request because the header fields are too large.
Login TimeoutIISCode fournisseur non standardA legacy Microsoft Exchange login error, documented for Email Router authentication; not a general HTTP session-expiry rule.
No ResponsenginxCode fournisseur non standardCloses the connection without sending any response, typically used to deny malicious requests.
Retry WithIISCode fournisseur non standardMicrosoft WebDAV extension: more client information is needed before the request can be completed.
Unavailable For Legal ReasonsEnregistré IANAThe server is denying access to the resource as a consequence of a legal demand.
Client Closed ConnectionAWSCode fournisseur non standardThe client closed the connection before the load balancer could send the request to the target.
Too Many IP AddressesAWSCode fournisseur non standardThe X-Forwarded-For header contains more than 30 IP addresses.
Request Header Too LargenginxCode fournisseur non standardThe request headers exceed the server's configured limit.
SSL Certificate ErrornginxCode fournisseur non standardAn error occurred while verifying the client SSL certificate.
SSL Certificate RequirednginxCode fournisseur non standardThe client did not provide a required SSL certificate.
HTTP Request Sent to HTTPS PortnginxCode fournisseur non standardA plain HTTP request was sent to an HTTPS port.
Client Closed RequestnginxCode fournisseur non standardThe client closed the connection before the server could send a response.
5xx

Server Error

21 codes
CodeNomDescription
Internal Server ErrorEnregistré IANAA generic error message when the server encounters an unexpected condition.
Not ImplementedEnregistré IANAThe server does not recognize the request method or lacks the ability to fulfill it.
Bad GatewayEnregistré IANAThe server, acting as a gateway or proxy, received an invalid response from the upstream server.
Service UnavailableEnregistré IANAThe server is temporarily unable to handle the request, due to overload or scheduled maintenance.
Gateway TimeoutEnregistré IANAThe server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
HTTP Version Not SupportedEnregistré IANAThe server does not support the HTTP version used in the request.
Variant Also NegotiatesEnregistré IANATransparent content negotiation for the request results in a circular reference.
Insufficient StorageEnregistré IANAThe server is unable to store the representation needed to complete the request.
Loop DetectedEnregistré IANAThe server detected an infinite loop while processing the request.
Not ExtendedObsolète / historiqueAn obsolete HTTP extension-framework code. Its defining experiment is Historic; do not treat it as a current extension requirement.
Network Authentication RequiredEnregistré IANAThe client needs to authenticate to gain network access (e.g., captive portal).
Web Server Returns an Unknown ErrorCloudflareCode fournisseur non standardThe origin server returned an empty, unknown, or unexpected response.
Web Server Is DownCloudflareCode fournisseur non standardThe origin server refused the connection.
Connection Timed OutCloudflareCode fournisseur non standardThe TCP handshake with the origin server timed out.
Origin Is UnreachableCloudflareCode fournisseur non standardCannot reach the origin server, possibly due to DNS resolution failure.
A Timeout OccurredCloudflareCode fournisseur non standardA TCP connection was established but the origin server did not reply in time.
SSL Handshake FailedCloudflareCode fournisseur non standardThe SSL handshake with the origin server failed.
Invalid SSL CertificateCloudflareCode fournisseur non standardCould not validate the SSL certificate on the origin server.
Railgun ErrorCloudflareObsolète / historiqueHistorical Railgun error label. Cloudflare retired Railgun in 2024; the linked IETF meeting material records the old code.
Origin DNS ErrorCloudflareCode fournisseur non standardCloudflare could not resolve the origin hostname. Consult the accompanying 1xxx error for details.
UnauthorizedAWSCode fournisseur non standardThe identity provider returned an error code during authentication.