"Computer network" HTTP protocol

1. HTTP operation process

Insert picture description here

Note that HTTP does not need to download all the resources of the page at one time. You can only download the text part, and other audio and video will be transmitted after the user's next request.

2. Features of HTTP

Insert picture description here

3. HTTP connection method

Insert picture description here

The difference between the two connections is

  • Non-persistent connection: each connection handles a request-response transaction
  • Persistent connection: each connection can handle multiple request-response transactions

4. HTTP message structure

Insert picture description here

Here are examples of request messages and some commonly used status codes

Insert picture description here

Guess you like

Origin blog.csdn.net/dreaming_coder/article/details/114081709