007.003

HTTP STATUS CODES

Complete reference for HTTP status codes and their meanings

1xx: Informational

100 Continue

The server has received the request headers and the client should proceed to send the request body.

101 Switching Protocols

The server is switching protocols as requested by the client.

102 Processing

The server has received and is processing the request, but no response is available yet.

103 Early Hints

Used to return some response headers before final HTTP message.

2xx: Success

200 OK

The request has succeeded.

201 Created

The request has been fulfilled and resulted in a new resource being created.

202 Accepted

The request has been accepted for processing, but the processing has not been completed.

203 Non-Authoritative Information

The server is a transforming proxy that received a 200 OK from its origin, but is returning a modified version.

204 No Content

The server successfully processed the request and is not returning any content.

205 Reset Content

The server successfully processed the request, asks that the requester reset its document view.

206 Partial Content

The server is delivering only part of the resource due to a range header sent by the client.

3xx: Redirection

300 Multiple Choices

There are multiple options for the resource from which the client may choose.

301 Moved Permanently

The URL of the requested resource has been changed permanently.

302 Found

The URI of requested resource has been changed temporarily.

303 See Other

The server sent this response to direct the client to get the requested resource at another URI with a GET request.

304 Not Modified

Indicates that the resource has not been modified since the version specified by the request headers.

307 Temporary Redirect

The server sends this response to direct the client to get the requested resource at another URI with same method.

308 Permanent Redirect

This means that the resource is now permanently located at another URI.

4xx: Client Error

400 Bad Request

The server cannot or will not process the request due to client error.

401 Unauthorized

The client must authenticate itself to get the requested response.

402 Payment Required

Reserved for future use. The original intention was that this code might be used as part of some form of digital cash.

403 Forbidden

The client does not have access rights to the content.

404 Not Found

The server can not find the requested resource.

405 Method Not Allowed

The request method is known by the server but is not supported by the target resource.

406 Not Acceptable

The server cannot produce a response matching the list of acceptable values defined in the request's headers.

407 Proxy Authentication Required

The client must first authenticate itself with the proxy.

408 Request Timeout

The server would like to shut down this unused connection.

409 Conflict

This response is sent when a request conflicts with the current state of the server.

410 Gone

The requested content has been permanently deleted from server, with no forwarding address.

411 Length Required

Server rejected the request because the Content-Length header field is not defined.

412 Precondition Failed

The client has indicated preconditions in its headers which the server does not meet.

413 Payload Too Large

Request entity is larger than limits defined by server.

414 URI Too Long

The URI requested by the client is longer than the server is willing to interpret.

415 Unsupported Media Type

The media format of the requested data is not supported by the server.

416 Range Not Satisfiable

The range specified by the Range header field in the request cannot be fulfilled.

417 Expectation Failed

The expectation indicated by the Expect request header field cannot be met by the server.

418 I'm a teapot

The server refuses the attempt to brew coffee with a teapot (April Fools' joke from 1998).

421 Misdirected Request

The request was directed at a server that is not able to produce a response.

422 Unprocessable Entity

The request was well-formed but was unable to be followed due to semantic errors.

423 Locked

The resource that is being accessed is locked.

424 Failed Dependency

The request failed due to failure of a previous request.

425 Too Early

The server is unwilling to risk processing a request that might be replayed.

426 Upgrade Required

The server refuses to perform the request using the current 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 amount of time ("rate limiting").

431 Request Header Fields Too Large

The server is unwilling to process the request because its header fields are too large.

451 Unavailable For Legal Reasons

The user requested a resource that is not available due to legal reasons.

5xx: Server Error

500 Internal Server Error

The server has encountered a situation it does not know how to handle.

501 Not Implemented

The request method is not supported by the server and cannot be handled.

502 Bad Gateway

The server, while working as a gateway to get a response needed to handle the request, got an invalid response.

503 Service Unavailable

The server is not ready to handle the request, often due to maintenance or overload.

504 Gateway Timeout

The server is acting as a gateway and cannot get a response in time.

505 HTTP Version Not Supported

The HTTP version used in the request is not supported by the server.

506 Variant Also Negotiates

The server has an internal configuration error.

507 Insufficient Storage

The method could not be performed on the resource because the server is unable to store the representation.

508 Loop Detected

The server detected an infinite loop while processing the request.

510 Not Extended

Further extensions to the request are required for the server to fulfill it.

511 Network Authentication Required

The client needs to authenticate to gain network access.