60.5k views
3 votes
explain the actions a client performs when requests a web page to a server in a non-persistent connection using http. the webpage contains text and 5 referenced objects.

User Cubski
by
7.3k points

1 Answer

1 vote

Final answer:

When a client requests a web page in a non-persistent connection using HTTP, it initiates a TCP connection, sends an HTTP request specifying the desired page, and receives the page along with its referenced objects in an HTTP response.

Step-by-step explanation:

When a client requests a web page from a server using a non-persistent connection in HTTP, the following actions take place:

  1. The client initiates a TCP connection with the server by sending a SYN packet.
  2. The server responds with a SYN-ACK packet to acknowledge the client's request and establish a connection.
  3. The client sends an HTTP request to the server, specifying the desired web page.
  4. The server processes the request and retrieves the requested web page along with its referenced objects (such as images, CSS files, or JavaScript files).
  5. The server sends back the requested web page and its referenced objects to the client as an HTTP response.
  6. Once the client receives the response, it can render the web page using the received text and the referenced objects.

User Arif Arifi
by
7.6k points