HTTP State code (HTTP status codes)

Source: Internet
Author: User
Tags rfc

The HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774, RFC 4918, and other specifications.

Http:status 1xx  (ad hoc response), a status code that represents a temporary response and requires the requestor to continue the operation. Detailed code and Description: Http:status 100 (continued), 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. Http:status 101 (Switch Protocol)--the requestor has asked the server to switch protocols, the server has confirmed and is ready to switch.

Description: HTTP status 2xx  (Success), the status code that successfully processed the request; HTTP Status 200 (Success) server has successfully processed the request. Typically, this indicates that the server provided the requested Web page. HTTP Status 201 (created) <pre name= "code" class= "plain" ><span style= "font-family:arial, Helvetica, Sans-serif;" >-> the request was successful and the server created a new resource. </span>
HTTP Status 202 (accepted) server has accepted the request but has not yet processed it. HTTP Status 203 (non-authoritative) server has successfully processed the request, but the information returned may be from another source. HTTP Status 204 (no content) server successfully processed the request, but did not return any content. The server, HTTP Status 205 (reset content), successfully processed the request, but did not return any content. HTTP Status 206 (partial) server successfully processed a partial GET request.



Description: The status code, HTTP status 4xx (Request error), indicates that the request may have failed and prevented the server from processing. HTTP Status 400 (Error request)-Server does not understand the syntax of the request. The request for HTTP status 401 (not authorized) requires authentication. The server may return this response for pages that need to log on. The HTTP Status 403 (Forbidden) server denies the request. HTTP Status 404 (Not found) the server cannot find the requested Web page. HTTP Status 405 (method Disabled), disables the method specified in the request. HTTP Status 406 (not accepted), cannot use the requested content attribute to respond to the requested Web page. HTTP Status 407 (requires proxy authorization), this status code is similar to 401 (unauthorized), but specifies that the requestor should authorize the use of the proxy. HTTP Status 408 (Request timed out) A time-out occurs when the server waits for a request. HTTP Status 409 (conflict) server encountered a conflict when completing the request. The server must include information about the conflict in the response. HTTP Status 410 (Deleted)-if the requested resource has been permanently deleted, the server returns this response. HTTP Status 411 (requires valid length) server does not accept requests that do not contain a valid Content-Length header field. HTTP Status 412 (Prerequisites not met) server does not meet one of the prerequisites set by the requestor in the request. HTTP Status 413 (Request entity too Large) server cannot process the request because the request entity is too large to exceed the processing power of the server. HTTP Status 414 (The requested URI is too long) The requested URI (usually a URL) is too long for the server to process. The requested format for HTTP Status 415 (Unsupported media type) is not supported by the requested page. HTTP Status 416 (Request scope not compliant)-if the page cannot provide the requested scope, the server returns this status code. The server does not meet the requirements for the "expected" Request header field in HTTP Status 417 (unmet expectations).


Description HTTP status 5xx (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. The server encountered an error in HTTP Status 500 (server internal error) and could not complete the request. HTTP Status 501 (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 Status 502 (Error Gateway)-Server as a gateway or proxy, received an invalid response from the upstream server. HTTP Status 503 (Service Unavailable) server is not currently available (due to overloading or downtime maintenance). Typically, this is only a temporary state. HTTP Status 504 (Gateway timed out) server as a gateway or proxy, but did not receive requests from the upstream server in a timely manner. The HTTP Status 505 (HTTP version not supported) server does not support the HTTP protocol version used in the request.


HTTP State code (HTTP status codes)

Related Article

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.