Common status codes and their meaningsSome common HTTP status codes are:200-The server successfully returned to the Web page400-The server does not understand the syntax of the request404--The requested page does not exist503--Service not
The status codes in HTTP 1.1 are divided into five main categories:100-199 is used to specify certain actions that the client should be corresponding.200-299 is used to indicate a successful request.300-399 is used for files that have been moved and
In the actual application of the site construction, prone to a lot of small mistakes, like MySQL was optimized not in place, the impact of the overall site browsing effect, in fact, the site's regular HTTP status code performance is the same, Google
The request method is a program that requests a certain Web page or is used for a specific URL.You can choose from the following types:
GET: Requests the specified page information and returns the entity principal.
HEAD: Only the header of the
The status codes in HTTP 1.1 are divided into five main categories:100-199 is used to specify certain actions that the client should be corresponding.200-299 is used to indicate a successful request.300-399 is used for files that have been moved and
Status Messages
1XX: Information
message
Description
Continue
The server only receives partial requests, but once the server does not reject the request, the client should continue to send the
If a request is sent to your server asking to display a webpage on your site (for example, when a user accesses your page through a browser or Googlebot crawls a webpage), the server returns an HTTP status code in response to the request.This status
The response message is as follows. The response message is also divided into the response starting line, the response header, the CRLF, and the response body.The response starting line includes the protocol version, the response status code, and
You should know the status code when learning Web design, but our common status code is 200,404, the following describes the other status values1 HTTP status code starting withA status code that represents a temporary response and requires the
Summary 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
The complete HTTP 1.1 specification is from RFC 2616 and can be accessed online at Http://www.talentdigger.cn/home/link.php?url=d3d3LnJmYy1lZGl0b3Iub3JnLw%3D%3D. The status code for HTTP 1.1 is marked as a new feature because many browsers only
Some of the common status codes are:200-Server successfully returned to Web page404-The requested page does not exist503-Service Not availableDetailed decomposition:1XX (Temporary response)A status code that represents a temporary response and
201-206 indicates that the server successfully processed the status code of the request, which indicates that the Web page can be accessed normally.200 (success) The server has successfully processed the request. Typically, this indicates that the
The complete HTTP 1.1 specification is from RFC 2616 and can be accessed online at Http://www.talentdigger.cn/home/link.php?url=d3d3LnJmYy1lZGl0b3Iub3JnLw%3D%3D. The status code for HTTP 1.1 is marked as a new feature because many browsers only
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 code
Headers_sent ()
Http_response_code ()
sent ()
Header ()
Definition and usageThe Headers_sent () function checks whether the HTTP header has been sent and where it was sent.Returns True if the header was sent, otherwise
Using asp.net/php/jsp or JavaScript will use different states of HTTP, some common status codes are:200– Server successfully returned page 404– requested page does not exist 503– service is not available1XX (Temporary response)A status code that
An error may occur when the browser requests a service from the Web server. It is possible to return the following series of status messages:1XX: Information
message:
Description:
Continue
The server only
Some common status codes $-Server successfully returned to Web page304(unmodified) The requested webpage has not been modified since the last request. When the server returns this response, the Web page content is not returned.404-The requested page
"100″: Continue (continue) The initial request has been accepted and the customer should continue to send the remainder of the request. (HTTP 1.1 new)
"101″: Switching protocols (switching protocol) The requestor has asked the server to switch
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.