200 - Server successfully returned to the Web page 301 - permanently moved, the requested page has been permanently moved to the new location 404 - The requested page does not exist, the page does not exist. The 500 - server encountered an error
Ultra -Full-ultra-detailed HTTP Status Code DaquanThe remainder of this section will describe in detail the status code in the HTTP 1.1. These status codes are divided into five main categories:The 100-199 is used to specify certain actions that the
I still don't understand the difference between 204 and 304.
OK
The request succeeds (followed by the answer document for the Get and post requests.) )
204 No Content
There are no new documents.
Http protocolImportance:1. No matter the future use of WebService or rest as a large-scale architecture, can not do without.WebService = Http protocol + XMLRest = HTTP protocol + JsonA variety of APIs, generally also with HTTP + Xml/json to achieve2.
Recently, I have been worried about the status of Ajax requests or the status of cross-origin requests on the server.When we browse the Web page, we also find that some files do not exist and are displayed as "404 error", which is the common Http
HTTP status Code detailedWe all know that 404 is found in wood, 301 is the definition of turn, but how many people know 206 or 307? This article will give you a list of the various HTTP status code meaning, suitable for long-term collection.
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
1XX (Temporary response)100 (continued) The requesting person shall continue to make the request.101 (switching protocol) The requestor has asked the server to switch protocols, the server has confirmed and is ready to switch2XX (Success)200
http Status Code of the Protocol1XX (Temporary response)A status code that represents a temporary response and requires the requestor to continue the operation.
100 (Continue)
The requestor shall continue to make the request.
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
When a viewer accesses a webpage, the browser of the viewer makes a request to the server where the page is located. When a Web page is received and displayed by the browser, the server on which the page resides returns a message header (server
According to Mr. Peng Wuxing's PHP Le, the header can send the Status header, as shown in
In this way, the user's browser can see the 404 error that the file cannot be found, but I tried this. Later, I checked the relevant http information on
In the actual application of website construction, prone to a lot of small mistakes, like MySQL originally optimized not in place, affecting the overall site browsing effect, in fact, the site's regular http Status code performance is the same, Some
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 requires the requestor to continue the
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
Status Code classificationHTTP status code is divided into five categories, currently we use the HTTP protocol version is 1.1, support the following status code. As the protocol progresses, more status codes are defined in the HTTP specification.Tip:
Status0**: not initiated status1**: Request received, continue processing status2**: Operation received successfully, analysis, accept status3**: The status must be further processed to complete this request4**: request contains an error syntax or
HTTP is an application layer protocol for distributed, collaborative, and hypermedia information systems.
How HTTP works:
HTTP is in line with the C/S model, and requests are always initiated by the Client. The whole process can be simply divided
Some of the common status codes are :200-Server successfully returned to Web page404-The requested page does not exist503-Server TimeoutA complete list of HTTP status codes is provided below. Click on the link to learn more. You can also get more
Learn to program the servlet's HTTP status code is published, welcome to visit via Xuebiancheng8.comThe format of the HTTP request and HTTP response message is similar, with the following structure:Initial status line + carriage return newline
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.