The relationship between the browser and the WEB server is the HTTP protocol. HTTP is a standard for client-side and server-side requests and responses. The client is the end user and the server is the website. By using a web browser, web crawler, or other tool, the client initiates an HTTP request to a specified port on the server.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The protocol used in the process of information exchange between the browser and the WEB server is HTTP.
HTTP is a standard for client and server request and response (TCP). The client is the end user and the server is the website. By using a web browser, web crawler, or other tool, the client initiates an HTTP request to a specified port on the server (the default port is 80). (We call this client) a user agent.
The answer server stores (some) resources such as HTML files and images. This answering server is called the origin server. There may be multiple layers between the user agent and the origin server, such as proxies, gateways, or tunnels (tunnels).
Although the TCP/IP protocol is the most popular application on the Internet, the HTTP protocol does not specify that it must be used and the layers it supports. In fact, HTTP can be implemented over any other Internet protocol or any other network. HTTP only assumes (that its underlying protocol provides) a reliable transport, and any protocol that provides such a guarantee can be used.
Extended information:
Protocol function
HTTP protocol (HyperText Transfer Protocol, Hypertext Transfer Protocol) Is a transmission protocol used to transmit hypertext from a WWW server to a local browser. It can make the browser more efficient and reduce network transmission.
It not only ensures that the computer transmits hypertext documents correctly and quickly, but also determines which part of the document is to be transmitted and which part of the content is displayed first (such as text before graphics).
HTTP contains commands and transmission information, and can be used not only for Web access, but also for communication between other Internet/Intranet applications to achieve hypermedia access integration of various application resources.
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of What is the protocol between browser and web server. For more information, please follow other related articles on the PHP Chinese website!