HTTP status Code

Source: Internet
Author: User

300-307 means: To complete the request, you need to proceed further. Typically, these status codes are always redirected.

300 (multiple choices) the server can perform a variety of actions depending on the request. The server can select an action based on the requester, or provide a list of actions to choose from.
301 (permanently moved) The requested page has been permanently moved to the new location. When the server returns this response, the requestor is automatically forwarded to the new location. You should use this code to inform the search engine that the spider Web page or website has been permanently moved to a new location.
302 (Temporary move) The server is currently responding to requests from a Web page in a different location, but the requestor should continue to use the original location for future requests. The requestor is automatically transferred to a different location. However, because the search engine will continue to crawl the original location and index it, you should not use this code to tell the search engine page or site has been moved.
303 (View other locations see other) The server returns this code when the requestor should make a separate GET request for a different location to retrieve the response. For all requests except the HEAD request, the server automatically goes to a different location.
304 (not modified) The requested webpage has not been modified since the last request. When the server returns this response, the Web page content is not returned.

If the page has not changed since the requestor last requested it, you should configure the server to return this response. Because the server can tell the search engine that the webpage has not changed since the last crawl, it can save bandwidth and overhead.

。
305 (using a proxy) the requestor can only use the proxy to access the requested Web page. If the server returns this response, the server also indicates which proxy the requestor should use.
307 (Temporary redirect) The server is currently responding to requests from a Web page in a different location, but the requestor should continue to use the original location for future requests. The requestor is automatically transferred to a different location. However, because the search engine will continue to crawl the original location and index it, you should not use this code to tell the search engine that a page or site has been moved.

Refer to Https://www.jianshu.com/p/a556390844e0

Reprinted from: http://blog.sina.com.cn/s/blog_53853bc20101tdq8.html

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.