HTTP Status Code->http status code

Source: Internet
Author: User

HTTP Status Code

Transferred from: http://www.cnblogs.com/DeasonGuan/articles/Hanami.html Hanami

Common Status Codes:

http:status   – The server successfully returned to the Web page 
http:status 404 – The requested webpage does not exist
http:status 503 – Service Unavailable

Detailed


http:status 1XX (ad hoc response)
-> represents a temporary response and requires a status code for the requestor to continue to perform the operation.
detailed code and description:
http:status 100 ( Continue)
-> the requestor shall continue to make the request. The server returns this code to indicate that the first part of the request was received and is waiting for the remainder.
101 (Switch protocol)
-> requester has requested the server to switch protocols, the server has confirmed and is ready to switch.

Description
HTTP Status2xxSuccess
Indicates that the status code of the request was successfully processed;

Detailed Code and Description:

HTTP Status $Success
The server has successfully processed the request. Typically, this indicates that the server provided the requested Web page.
HTTP Status201(created)
The request was successful and the server created a new resource.
HTTP Status202(accepted)
The server has accepted the request but has not yet processed it.
HTTP Status203(Non-authorised information)
The server has successfully processed the request, but the information returned may be from another source.
HTTP Status204(No content)
The server successfully processed the request, but did not return any content.
HTTP Status205(Reset content)
The server successfully processed the request, but did not return any content.
HTTP Status206(Partial content)
The server successfully processed a partial GET request.

Description

HTTP Status4xx(Request error)
These status codes indicate that the request may have failed and that the server has been prevented from processing.

Detailed Code Description:
HTTP Status -(Error request)
The server does not understand the syntax of the request.
HTTP Status401(Not authorized)
Request requires authentication. The server may return this response for pages that need to log on.
HTTP Status403Prohibited
Server denied request.
HTTP Status404(Not found)
The requested Web page was not found by the server.
HTTP Status405(Method Disabled)
Disable the method specified in the request.
HTTP Status406(not accepted)
, you cannot use the requested content attribute to respond to a requested Web page.
HTTP Status407(Requires proxy authorization)
This status code is similar to 401 (unauthorized), but specifies that the requestor should authorize the use of the proxy.
HTTP Status408(Request timed out)
A timeout occurred while the server was waiting for a request.
HTTP Status409Conflict
Server, a conflict occurred while completing the request. The server must include information about the conflict in the response.
HTTP Status410(deleted)
-If the requested resource has been permanently deleted, the server returns this response.
HTTP Status411(Valid length required)
Server does not accept requests that do not contain valid Content-Length header fields.
HTTP Status412(Prerequisites not met)
Server does not meet one of the prerequisites set by the requestor in the request.
HTTP Status413(Request entity is too large)
Server cannot process the request because the request entity is too large to exceed the processing power of the server.
HTTP Status414(The requested URI is too long) The requested URI (usually the URL) is too long for the server to process.
HTTP Status415(Unsupported media type)
The requested format is not supported by the requested page.
HTTP Status416(Request scope does not meet the requirements)
-If the page cannot provide the requested scope, the server returns this status code.
HTTP Status417(Expectations not met)
Server does not meet the requirements for the expected Request header field.
Description
HTTP Status5xx(Server error)
These status codes indicate that the server has an internal error while trying to process the request. These errors may be the error of the server itself, not the request.

Code details and Description:
HTTP Status -(Server internal Error)
Server encountered an error and could not complete the request.
HTTP Status501(not yet implemented)
Server does not have the ability to complete the request. For example, this code may be returned when the server does not recognize the request method.
HTTP Status502(Error Gateway)
Server as a gateway or proxy, you receive an invalid response from the upstream server.
HTTP Status503(Service Unavailable)
Server is not currently available (due to overloading or downtime maintenance). Typically, this is only a temporary state.
HTTP Status504(Gateway timed out)
Server as a gateway or proxy, but does not receive requests from the upstream server in a timely manner.
HTTP Status505(HTTP version not supported)
The HTTP protocol version used in the request is not supported by the server.

HTTP Status Code->http status code

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.