When the server responds to the client, it responds with the corresponding status code, and different status codes have different meanings.1XX: Information class2XX: Success Class3XX: Redirect Class4XX: Client Error class5XX: Service-side Error
as a program developer, you should know the meaning of the HTTP status returned by some servers, and only make sure that the status code one by one is clear and that the various problems encountered in the work can be handled with ease. So let's
A list of common HTTP status codes for production environments200-ok , the server successfully returned to the Web page-standard response for successful HTTP requests.301-moved Permanently (Permanent jump), the requested page has been permanently
HTTP Status CodeIf a request is made to your server to display a webpage on your site (for example, when a user accesses your page through a browser or when Googlebot crawls the page), your server returns an HTTP status code in response to the
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.The
For Seo, we often see code similar to this in the log:
61.135.166.small--[31/DEC/2007: 02: 30: 11 + 0800] "Get/category21.html HTTP/1.1" 200 10968 "-" "baiduspider + (+ http://www.baidu.com/search/spider.htm )"
66.249.70.172--[31/DEC/2007: 03: 36: 10
Some common HTTP status codes are:200– server successfully returned to Web page404– The requested page does not exist503– Service Not availableCommon HTTP status Code Daquan1XX (Temporary response)A status code that represents a temporary response
When we visit a webpage, the browser sends a request to the Web page's owning server. Before the browser receives the server response information and displays the Web page, the server sends a header with an HTTP status code in response to the client
As an Internet developer, the meaning of the HTTP status returned by some servers must be well-understood, and only these status code one by one can be figured out, and all the problems encountered in the work are handled with ease. Well, let's look
2 Opening (successful request) indicates that the status code of the request was successfully processed.200 (success) The server has successfully processed the request. Typically, this indicates that the server provided the requested Web page.201
2 Opening (successful request) indicates that the status code of the request was successfully processed.200 (success) The server has successfully processed the request. Typically, this indicates that the server provided the requested Web page.201
Here are the most common status codes I've encountered in my personal work, and those that are less likely to appear are not listed.
301 (Permanent movement)
302 (Temporary transfer)
304 (unmodified, data not updated, and cache
Tidy up.1XX (Temporary response)A status code that represents a temporary response and requires the requestor to continue the operation.Code description100 (continued) The requesting person shall continue to make the request. The server returns this
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
Recently we have done interface Automation test, and several methods are more important1. Get the HTTP status code /** Return Interface status code **/ Public Staticstring gethttpcode (string url) {String code=NULL; Try{URL u=Newurl
100 series Codes
The HTTP status code from 100 to 199 is an information report code. For various reasons, we rarely see the code in most cases. First, if a browser tries to access a website and the website returns the code, the code is usually not
HTTP status codes and Status Codes
An error may occur when the browser requests services from the web server. This may return the following series of status messages:1xx: Information
Message:
Description:
100 Continue
The
First, you need to know what the HTTP status code is: the HTTP status code is a three-digit code used to indicate the HTTP response status of the Web server. When a client sends an HTTP request to the Web server, the server returns a response code.
1xx prompt message-indicates that the request has been successfully received and continues Processing2XX success-indicates that the request has been successfully received, understood, and accepted3xx redirection-further processing is required to
Here is the introduction of Baidu Encyclopedia, but also quite full.The following is the development process encountered a variety of codes, their own problems of their own reasons, the same code different wrong, cheap smile.HTTP 406 Not
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.