HTTP Status Code

Source: Internet
Author: User

The first line in the Response message is called the status line, which consists of the HTTP protocol version number, the status code, and the status message.

The status code is used to tell the HTTP client whether the HTTP server produced the expected Response.

The 5 class status codes are defined in the http/1.1, and the status codes are made up of three digits, and the first number defines the category of the response

1** prompt-Indicates that the request has been successfully received and continues processing

2** Success-Indicates that the request has been successfully received, understood, accepted

3** Redirect-must be further processed to complete the request

4** Client Error-Request syntax error or request not implemented

5** server-side error-the server failed to implement a legitimate request

OK

The most common is the successful response status Code 200, which indicates that the request was successfully completed and the requested resource was sent back to the client

301/302 Found

Redirect, the new URL will be returned in the location in response, the browser will automatically use the new URL to issue a new request,301 permanent transfer, 302 temporary transfer

Request

client requests and syntax errors cannot be understood by the server

403 Forbidden

The server received the request but refused to provide the service

404 Not Found

The request resource does not exist (the wrong URL was lost)

Internal Server Error

Unexpected error occurred on the server

503 Server Unavailable

The server is currently unable to process client requests and may return to normal after some time

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.