Http Status Codes

  • Home
  • Http Status Codes

1xx – Informational Responses

100 Continue

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

101 Switching Protocols

The requester has asked the server to switch protocols and the server is acknowledging that it will do so.

102 Processing (WebDAV)

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

2xx – Success

200 OK

The request was successful and the server returned the requested resource.

201 Created

The request was successful, and as a result, a new resource has been created.

202 Accepted

The request has been received but not yet acted upon. It’s a non-committal response.

203 Non-Authoritative Information

The request was successful but the returned data may be from a third-party source (e.g., cached data).

204 No Content

The request was successful, but the server is not returning any content.

205 Reset Content

The request was successful, but the client should reset its 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.

301 Moved Permanently

The resource has been permanently moved to a new URL.

302 Found (Temporary Redirect)

The resource is temporarily located at a different URL.

303 See Other

The response to the request can be found under another URL, and should be retrieved using a GET method.

304 Not Modified

The resource has not been modified since the last request.

307 Temporary Redirect

The requested resource is temporarily located at a different URL.

308 Permanent Redirect

The resource has been permanently moved, and future requests should use the new URL.

4xx – Client Errors

400 Bad Request

The server cannot process the request due to client-side issues (e.g., malformed syntax).

401 Unauthorized

Authentication is required and has failed or has not been provided.

403 Forbidden

The server understands the request but refuses to authorize it.

404 Not Found

The server cannot find the requested resource.

405 Method Not Allowed

The request method is known by the server but has been disabled and cannot be used.

406 Not Acceptable

The requested resource is not available in a format acceptable to the client.

407 Proxy Authentication Required

The client must authenticate itself with the proxy.

408 Request Timeout

The server timed out waiting for the request.

409 Conflict

The request could not be processed due to a conflict in the current state of the resource.

410 Gone

The requested resource is no longer available and has been permanently removed.

411 Length Required

The server refuses to accept the request without a defined Content-Length header.

412 Precondition Failed

The server does not meet one of the preconditions specified by the client.

413 Payload Too Large

The request is too large for the server to process.

414 URI Too Long

The requested URI is too long for the server to process.

415 Unsupported Media Type

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

416 Range Not Satisfiable

The client has asked for a portion of the file (byte serving), but the server cannot supply that portion.

417 Expectation Failed

The server cannot meet the requirements of the Expect header in the request.

418 I'm a teapot

An Easter egg code from an April Fools' joke.

422 Unprocessable Entity (WebDAV)

The server understands the content type of the request entity, but was unable to process the contained instructions.

426 Upgrade Required

The client should switch to a different protocol.

5xx – Server Errors

500 Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.

501 Not Implemented

The server does not support the functionality required to fulfill the request.

502 Bad Gateway

The server, while acting as a gateway or proxy, received an invalid response from the upstream server.

503 Service Unavailable

The server is currently unable to handle the request due to temporary overload or scheduled maintenance.

504 Gateway Timeout

The server, while acting as a gateway or proxy, did not get a timely response from the upstream server.

505 HTTP Version Not Supported

The server does not support the HTTP version used in the request.

511 Network Authentication Required

The client needs to authenticate to gain network access.