In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how HTTP works. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Http in the URL refers to the hypertext transfer protocol, which is based on the TCP/IP communication protocol to transfer data. HTTP protocol is the most widely used network transfer protocol on the Internet, and all WWW files must comply with this standard.
The http in the URL refers to the hypertext transfer protocol.
HTTP protocol (HyperText Transfer Protocol, Hypertext transfer Protocol) is the most widely used network transfer protocol on the Internet, and all WWW files must comply with this standard.
HTTP is a communication protocol based on TCP/IP to transfer data (HTML files, picture files, query results, etc.).
How HTTP works
The HTTP protocol works on the client-server architecture. As a HTTP client, the browser sends all requests to the HTTP server, the WEB server, through URL.
Web servers include: Apache server, IIS server (Internet Information Services) and so on.
After receiving the request, the Web server sends response information to the client.
The default port number for HTTP is 80, but you can also change it to 8080 or another port.
There are three points to note for HTTP:
HTTP is connectionless: connectionless means limiting the processing of only one request per connection. After the server processes the customer's request and receives the customer's reply, it disconnects. Transmission time can be saved in this way.
HTTP is media independent: this means that any type of data can be sent over HTTP as long as the client and server know how to handle the data content. The client and server specify the appropriate MIME-type content type to be used.
HTTP is stateless: the HTTP protocol is stateless. Statelessness means that the protocol has no memory ability for transactions. The lack of state means that if the previous information is required for subsequent processing, it must be retransmitted, which may result in an increase in the amount of data transmitted per connection. On the other hand, the server responds faster when it does not need previous information.
The following chart shows the HTTP protocol communication process:
This is the end of the article on "how HTTP works". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.