HTTP Common Status Codes

Source: Internet
Author: User

The HTTP status code is a numeric code that represents the status of the Web server in response to an HTTP request. Each time the client sends an HTTP request to the Web server, the Web server returns a status response code. This status code is a three-digit number that tells the Web client whether the request was successful, or whether to take other actions.

The status code in the HTTP protocol 1.1 version can be divided into five major categories.

Status code Function description
100-199 Some actions to specify the client response
200-299 Used to indicate success
300-399 Used for files that have been moved and are often included in the locator header information to specify new address information
400-499 Error used to specify the client
500-599 Errors to indicate the server


In production, the common HTTP status codes are

status code detailed description
200-ok The server successfully returned to the Web page  
301-moved permanently < Span style= "Color:rgb (51, 51, 51); font-family: "helvetica Neue", Helvetica,"pingfang Sc", "hiragino Sans gb"," Microsoft Yahei", Microsoft ya Black, Arial, Sans-serif; Background-color:rgb (255, 255, 255); font-size:14px; " > (permanent jump), the requested page has been permanently redirected to the new location.
403-forbidden (no access), the server denies the request
404-not Found The server could not find the requested page.
500 -Internal Server Error (internal server error)
502-bad Gateway (bad gateway), typically when the gateway server requests the backend service, the backend service does not correctly return the result as the HTTP protocol.
503-service unavailable (service is currently unavailable), possibly due to overloading or downtime maintenance.
504-gateway Timeout (Gateway Timeout), typically when a gateway server requests a backend service, the backend service does not complete the service at a specific time.

HTTP status code viewing, which can be viewed in Linux using the Curl command




HTTP Common Status Codes

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.