HTTP request WEB server return status code list

Source: Internet
Author: User

DocumentWhen a browser requests a service from a web server, an error may occur. The following lists the HTTP status messages returned for all these errors.

1xx: Information

Message: Description:
100 Continue Only a part of the request has been encoded ed by the server, but as long as it has not been rejected, the client shoshould continue with the request
The server only accepts some requests but does not reject them. The customer should continue the request.
101 Switching Protocols The server switches protocol
Server switch protocol

2xx: Successful

Message: Description:
200 OK The request is OK
Request successful
201 Created The request is complete, and a new resource is created
Request complete, new resource created
202 Accepted The request is accepted for processing, but the processing is not complete
The process accepts the request, but the whole process has not been completed
203 Non-authoritative Information  
204 No Content
205 Reset Content
206 Partial Content

3xx: Redirection

Message: Description:
300 Multiple Choices A link list. The user can select a link and go to that location. Maximum five addresses
Connection list. You can select a connection to reach the specified connection location. Up to five addresses can be entered.
301 Moved Permanently The requested page has moved to a new url
Switch the request page to a new URL address.

302 Found
The requested page has moved temporarily to a new url
The request page is temporarily switched to a new URL address
303 See Other The requested page can be found under a different url
The request page can be found in another URL
304 Not Modified
305 Use Proxy
306Unused This code was used in a previous version. It is no longer used, but the code is reserved
This code is only supported in previous versions. This code is no longer supported in the current version, but the code will be retained.
307 Temporary Redirect The requested page has moved temporarily to a new url
The request page is temporarily switched to a new URL address

4xx: client Error

Message: Description:
400 Bad Request The server did not understand the request
The server cannot read the request
401 Unauthorized The requested page needs a username and a password
Enter the user name and password on the request page.
402 Payment Required You can not use this code yet
This Code cannot be used.
403 Forbidden Access is forbidden to the requested page
Forbidden access request page
404 Not Found The server can not find the requested page
The server cannot find the request page
405 Method Not Allowed The method specified in the request is not allowed
This request is not allowed
406 Not Acceptable The server can only generate a response that is not accepted by the client
The client cannot accept responses from the server.
407 Proxy Authentication Required You must authenticate with a proxy server before this request can be served
You are not allowed to determine whether a proxy server is used before the request is processed.
408 Request Timeout The request took longer than the server was prepared to wait
Request timeout
409 Conflict The request cocould not be completed because of a conflict
Request conflict
410 Gone The requested page is no longer available
The request page is invalid.
411 Length Required The "Content-Length" is not defined. The server will not accept the request without it
Used for "Content-Length" undefined, and the server cannot accept this request
412 Precondition Failed The precondition given in the request evaluated to false by the server
The Preprocessing process in the request failed.
413 Request Entity Too Large The server will not accept the request, because the request entity is too large
The server does not accept this request because the request entity is too large.
414 Request-url Too Long The server will not accept the request, because the url is too long. Occurs when you convert a "post" request to a "get" request with a long query information
The server does not accept this request because the URL is too long. This error occurs when you use a long query information to convert a "post" request to a "get" request.
415 Unsupported Media Type The server will not accept the request, because the media type is not supported
The server does not accept this request because the media type used is not supported.
416
417 Expectation Failed

5xx: Server errors

Message: Description:
500 Internal Server Error The request was not completed. The server met an unexpected condition
The request cannot be completed. Server incidents
501 Not Implemented The request was not completed. The server did not support the functionality required
The request cannot be completed. The server does not support the specified function.
502 Bad Gateway The request was not completed. The server has ed an invalid response from the upstream server
The request cannot be completed. The server extracts invalid responses from the upstream server.
503 Service Unavailable The request was not completed. The server is temporarily overloading or down
The request cannot be completed. Overload of server load
504 Gateway Timeout The gateway has timed out
Gateway timeout
505 HTTP Version Not Supported The server does not support the "http protocol" version
The server does not support this "http protocal [http protocol]" version.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.