Current location - Quotes Website - Collection of slogans - Http protocol refers to
Http protocol refers to
HTTP (Hypertext Transfer Protocol) is a network communication protocol.

It allows Hypertext Markup Language (HTML) documents to be transferred from a Web server to a client's browser. The default port is 80. HyperTextTransferProtocol (HTTP) is a simple request-response protocol, which usually runs on top of TCP.

The HTTP protocol specifies what message the client can send to the server and what response it will get. The headers of request and response messages are given in ASCII form; The content of mime mail has a MIME-like format. This simple model contributed to the success of the early Web because it made development and deployment very simple.

The working principle of HTTP protocol

The HTTP connection between the client and the server is a one-time connection, which limits each connection to only one request. When the server returns a reply to this request, it will immediately close the connection and re-establish the connection next time. This one-time connection is mainly due to the fact that the WWW server is aimed at thousands of users in the Internet and can only provide a limited number of connections.

HTTP is a stateless protocol, that is, the server does not retain any state when dealing with customers. This greatly reduces the memory burden of the server, thus maintaining a faster response speed. HTTP is an object-oriented protocol. Allow the transmission of any type of data object.