Successful status code:
200-the server returns the webpage successfully
304-not modified
Status Code of failure:
404-the requested webpage does not exist
503-the server is temporarily unavailable
500-Internal Server Error
The following is not very
0 (not initialized): (XMLHttpRequest) the object has been created, but the open () method has not been called.
1 (load): the open () method has been called, but no request has been sent.
2 (Loading completed): The request has been sent completely.
Definition
HTTP status codeHTTP status code is a three-digit code used to indicate the HTTP response status of the Web server. It is defined by the RFC 2616 specification and has been extended by specifications such as RFC 2518, RFC 2817, RFC 2295,
Most recently, the state of Ajax requests, or the state of a server-side Cross-domain request, is now a collection of the following articles.
When we normally browse the Web, we also find that some files do not exist and appear as "404 Errors",
1xx Information Series
The 100:continue-> server only accepts partial requests, but once the server does not reject the request, the client should continue to send other requests
101:switching protocols-> Server Conversion Protocol, The server
Invalid HTTP 400– requestHTTP 401.1– not authorized: Logon failedHTTP 401.2– not authorized: Login failed due to server configuration problemHTTP 401.3–acl prohibit access to resourcesHTTP 401.4– not authorized: Authorization denied by filterHTTP 401
HTTP Request Message
L HTTP command: // Method Field, indicating that the get method is used
L URI: // URL field, which sends a request to the server that saves the website.
L HTTP Version: // HTTP Protocol version field, which is HTTP/1.1
L
Successful status code:
200-the server returns the webpage successfully
304-not modified
Status Code of failure:
404-the requested webpage does not exist
503-the server is temporarily unavailable
500-Internal Server Error
The following is
1 **: request received, continue processing2 **: The operation is successfully received, analyzed, and accepted.3 **: the request must be further processed.4 **: The request contains an error syntax or cannot be completed5 **: the server failed to
1 **: request received, continue processing2 **: The operation is successfully received, analyzed, and accepted.3 **: the request must be further processed.4 **: The request contains an error syntax or cannot be completed5 **: the server failed to
HTTP Status CodeCommon Status Codes:Http:status 200– Server successfully returned to Web pageHttp:status 404– The requested page does not existHttp:status 503– Service Not availableDetailedDescription: Http:status 1xx (Temporary response)
HTTP status Code 200 and 304 HTTP status code are three-bit numeric codes that represent the response status of a Web server. By using these numbers, you can simplify the expression of the state. There are dozens of status codes, of which the first
First of all, the HTTP exception handling problem.
When Urlopen cannot handle a response, a urlerror is generated.
However, the usual Python APIs such as Valueerror,typeerror can also be generated.
Httperror is a subclass of Urlerror that is
As a front-end, recently began to write backstage, encountered some restful design problems, I hope that the great God to answer you.
The restful specification emphasizes in particular
HTTP Status CodesUse, but I have some doubts when I use it.
Log File Location
By default, IIS 7.0 puts log files in the following folders: Inetpub \ logs \ logfiles
This folder contains different directories for each web site. By default, log files are created daily in the directory and named by date. For
As a front-end, I recently started writing back the background and encountered some restful design problems. I hope you can answer them. The restful specification emphasizes the use of HTTPStatusCodes, but I have some doubts when using it.
Returns an HTTP status code that is the state of the server displayed on your Web site in response to a request, for example:
• When a user accesses a Web page in a browser.
• When search engine spiders crawl the page.
The HTTP status code is
Http status code (200, 404, 500, etc.) (to CSDN), 500 and other csdn
When we send a request from a client to the serverThe server returns the status code to us.The status code is the status of the server response.Through this, we can know whether
How to select the correct HTTP status code
As we all know, each HTTP Response carries a status code, but for many developers, the most commonly used status codes are 200, 400, 404, and 500. In what scenarios should I use other status codes and when
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.