The Status code
The Status code
1xx: Informational
1
It means the request has been received and the process is continuing.
2xx: Success
2
It means the action was successfully received, understood, and accepted.
3xx: Redirection
3
It means further action must be taken in order to complete the request.
HTTP status codes are extensible and HTTP applications are not
required to understand the meaning of all the registered status
codes. Given below is a list of all the status codes.
1xx: Information
Message Description
Only a part of the request has been received by the server, but as long as it has
100 Continue
not been rejected, the client should continue with the request.
101 Switching
The server switches protocol.
Protocols
2xx: Successful
Message Description
202 Accepted The request is accepted for processing, but the processing is not complete.
203 Non- The information in the entity header is from a local or third-party copy, not
authoritative
from the original server.
Information
A status code and a header are given in the response, but there is no entity-
204 No Content
body in the reply.
The browser should clear the form used for this transaction for additional
205 Reset Content
input.
The server is returning partial data of the size requested. Used in response to
206 Partial Content a request specifying a Range header. The server must specify the range
included in the response with the Content-Range header.
3xx: Redirection
Message Description
300 Multiple A link list. The user can select a link and go to that location. Maximum five
Choices addresses .
301 Moved
The requested page has moved to a new url .
Permanently
302 Found The requested page has moved temporarily to a new url .
303 See Other The requested page can be found under a different url .
This code was used in a previous version. It is no longer used, but the code is
306 Unused
reserved.
307 Temporary
The requested page has moved temporarily to a new url.
Redirect
400 Bad Request The server did not understand the request.
402 Payment Required You can not use this code yet.
403 Forbidden Access is forbidden to the requested page.
404 Not Found The server can not find the requested page.
The server can only generate a response that is not accepted by the
406 Not Acceptable
client.
407 Proxy
You must authenticate with a proxy server before this request can be
Authentication
served.
Required
408 Request Timeout The request took longer than the server was prepared to wait.
The "Content-Length" is not defined. The server will not accept the
411 Length Required
request without it .
412 Precondition Failed The pre condition given in the request evaluated to false by the server.
413 Request Entity Too The server will not accept the request, because the request entity is too
Large large.
The server will not accept the request, because the url is too long.
414 Request-url Too
Occurs when you convert a "post" request to a "get" request with a long
Long
query information .
415 Unsupported The server will not accept the request, because the mediatype is not
Media Type supported .
The request was not completed. The server did not support the
501 Not Implemented
functionality required.
The request was not completed. The server received an invalid
502 Bad Gateway
response from the upstream server.