12,868 views
2 votes
2 votes

True or false?

 

  1. A user requests a Web page that consists of some text and three images. For this page, the client will send one request message and receive four response messages.
  2. Two distinct Web pages (for example, www.mit.edu/research.html and www.mit.edu/students.html) can be sent over the same persistent connection.
  1. With nonpersistent connections between browser and origin server, it is possible for a single TCP segment to carry two distinct HTTP request messages.
  2. The Date: header in the HTTP response message indicates when the object in the response was last modified.
  3. HTTP response messages never have an empty message body. 

1 Answer

0 votes
0 votes
a. False.
There are four connections since each connection transports exactly one request message and one response message. So, each object will have its one request message instead of there being only one request message.
b.
True.

It is because both of these web pages are on the same physical server (www.mit.edu).

c.

False.
 In a nonpersistent connection, the connection closes after each connection. In this case, the connection will close once the first message is received, and there will be a new connection opened to send the second message.

d. False.
 The “Date:” is the time at which the request was created and not when the object was last modified.

e.
False.
Some HTTP response messages have an empty message body. For example, HTTP Status-Code of 204 and 304 MUST NOT include a message body. (RFC 2616)

Related questions

0 votes
0 votes
1 answer
3