HTTP Status Codes¶
Table 1 describes common status codes.
Return Value |
Description |
---|---|
200 OK |
The request has been processed successfully. |
204 No Content |
The server does not return any information. |
400 Bad Request |
The server failed to process the request. Possible causes include:
|
401 Unauthorized |
The request requires user authentication. For example, the username and password are required. |
403 Forbidden |
You are forbidden to access the requested page. |
404 Not Found |
The request failed because the requested resource could not be found on the server. |
405 Method Not Allowed |
You are not allowed to use the method specified in the request. |
406 Not Acceptable |
The response generated by the server could not be accepted by the client. |
407 Proxy Authentication Required |
You must use the proxy server for authentication so that the request can be processed. |
408 Request Timeout |
The request timed out. |
409 Conflict |
The request could not be processed due to a conflict. |
410 Gone |
The requested resource is not available on the server and no known forwarding address is provided. |
412 Precondition Failed |
One or more conditions specified in the request header are not met when the server tests the conditions. |
500 Internal Server Error |
The server failed to process the request due to an unexpected condition. |
501 Not Implemented |
Failed to complete the request because the server does not support the requested function. |
502 Bad Gateway |
Failed to complete the request because the server has received an invalid response. |
503 Service Unavailable |
Failed to complete the request because the service is unavailable. |
504 Gateway Timeout |
The gateway timed out. |