HTTP Hypertext Transfer Protocol, user access to World Wide Web documents, links between world Wide Web documents, and data transfer from World Wide Web documents to user computers, the implementation of these features is done by the hypertext protocol.
HTTP is an application-layer protocol that uses TCP for reliable transmission, enabling the exchange of various information, such as text, sound, images, and video, on the World Wide Web.
HTTP is also working in client/server mode, divided into HTTP client and HTTP server, each interaction between the two sides is a request by the client, the service side response request, that is, follow the request response mode.
The HTTP protocol specifies that the process of accessing the World Wide Web using a browser can be summarized as:
1. Enter the URL of the Web page you want to visit in the browser, or click the link in the Web page.
2, the browser according to the domain name in the URL, through the DNS to resolve the destination Web page IP address.
3. The browser establishes a TCP connection with the server on which the Web page resides.
4, the browser sends the HTTP request message, obtains the target webpage the file.
5, the server sends an HTTP response message, the target page of the file sent to the browser.
6. Release the TCP connection. (You can also see that HTTP is not connected)
7. The browser renders the content of the Web page on the browser.
HTTP and HTTPS