(1) HTTP is currently available in three versions: HTTP0.9, HTTP1.0, HTTP1.1. HTTP0.9 is the earliest version, it only defines the most basic simple requests and simple answers, HTTP1.0 is more perfect, is also a widely used version of the current, HTTP1.1 added a large number of header fields, and the HTTP1.0 does not have a strictly defined part of the further explanation.
(2) HTTP1.1 provides a basic password-based authentication method, and all Web servers can now support access control through basic identity authentication. In the identity authentication, for the Basic authentication method in clear text transmission password This one of the biggest weaknesses, supplemented the Digest authentication method, no longer pass the password plaintext, but the password after the hash function transformation passed its digest. There are also security HTTP protocol shttp for improvements to the HTTP protocol. Latest version of SHTTP1.3 It is based on HTTP1.1 and provides the ability to encrypt data, identify authentication, complete data, and prevent denial.
(3) The http/1.0 protocol uses a non-persistent connection, that is, a TCP connection transmits only one Web object under a non-persistent connection. http/1.1 uses persistent connections by default (however, clients and servers of the http/1.1 protocol can be configured to use non-persistent connections). Under Persistent connections, You do not have to establish a new connection for each Web object's delivery, and you can transfer multiple objects in one connection!
A brother's experience:
When you use http1.0 to connect to a server, you can only download one page at a time, and if you want to download the second page, you will need to reestablish a new TCP/IP connection. And http1.1 is in the same TCP/IP connection, and constantly open the connection to download the second, third page. Each has its advantages. In the case of a small PV value, the server with the http1.0 protocol is less stressful, because the TCP/IP connection is not maintained, can increase the number of connections, and reduce the TCP/IP connection table query time, if the PV value is large, each release, establish a new tcp/ The http1.0 of IP connections is obviously more expensive than building a single connected http1.1, so the latter adoption of http1.1 will be a better mitigation of server burdens.