First, the opening analysis
First of all, the concept of "Http" should be more familiar, it is not based on a specific language, is a general application layer protocol, different languages have different implementation details, but same, the idea
1. The main document, accessed by the page, sets the return status header (' http/1.1 '. $code. ') of this file according to the return result of the "Validate page". '. $_status[$code])
Copy Code code as follows:
Ini_set (' Max_execution_
1http Brief IntroductionHTTP Hypertext Transfer Protocol: Host address: Port/urlHost is resolved to an IP address by the DNS server, so you can sometimes use the domain name directly,HTTP default Access 80 port, HTTPS default Access 443 portThe
Message this type of status code, on behalf of the request has been accepted, need to continue processing. This type of response is a temporary response that contains only the status line and some optional response header information and ends with a
HTTP State code (HTTP status codes)Some of the common status codes are:200-Server successfully returned page 404-requested page does not exist 503-service not availableAll status explanations: Click to view1XX (Temporary response)A status code that
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.1xx
Part of hypertext Transfer Protocol--http/1.1RFC 2616 Fielding, et al.10 Status Code rule (status code definitions)This article describes the relevant rules for each status code, including the method to be followed by the corresponding status code
Citation: 700535601xx-Informational TipsThese status codes represent a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.· 100-continue the initial request has been accepted,
A brief introduction to URLLIB2Reference URL: http://www.voidspace.org.uk/python/articles/urllib2.shtmlFetching URLsThe simplest-urllib2 is as follows:1.Import Urllib2Response = Urllib2.urlopen (' http://python.org/')html = Response.read ()2.Import
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
HTML (5) 1. A brief introduction to the new features of HTML5First of all, HTML5 to better practice the semantics of the Web, add the header, footer, Nav, aside, article, section, and other semantic tags.On the table, in order to enhance the form,
Status codes for common HTTP request ResponsesSome of the common status codes are:$ – Server successfully returned page 404– requested page does not exist 503– service is not available1xx (Temporary response)A status code that represents a
Exception Handling for URLLIB2When we use urlopen或opener.open a method to make a request, if we urlopen或opener.open cannot handle the response, an error is generated.The main point here is Urlerror and Httperror, and the error handling of
XMLHttpRequest provides a protocol for clients to communicate with HTTP servers
One: Create
Ie:http_request = new ActiveXObject ("Msxml2.xmlhttp");
Http_request = new ActiveXObject ("Microsoft.XMLHTTP");
Non-ie:http_request = new XMLHttpRequest
Comparison of HTTP 1.1 and HTTP 1.0
http://blog.csdn.net/weizhaozhe/article/details/3958945
A Web site may receive millions of user requests a day, in order to improve the efficiency of the system, HTTP 1.0 requires the browser and the server to
Turn from: http://www.cnblogs.com/zhubaoxu/archive/2008/03/17/1109315.html
Although often write Ajax aspects of things, but rarely to specifically understand the XMLHttpRequest status of the meaning of each value, but in the use of Google, the
HTTP 1.1 compared to HTTP 1.0
A Web site may receive millions of user requests a day, in order to improve the efficiency of the system, HTTP 1.0 requires the browser and the server to maintain only a brief connection, every time the browser needs
We often encounter 404, 500, 302 and other hints, what do they mean? In addition to these common status codes, what are some of the status codes that we have not encountered but are likely to appear? Here I made a summary, share with you.
HTTP
The status of the XMLHttpRequest object represents the state of the current HTTP request, which is a long integer data, and this article describes what it means.HTTP request status and its meaning table1XX-Information Tips100-The initial request has
1. Description of the problem
After the HttpServlet request is received and logically processed, it is redirected to another web system across the domain, and the form data is submitted as a post.
2. Problem solving
This problem mainly addresses
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.