The Gateway to Computer Science Excellence
0 votes
26 views

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. 
in Computer Networks by Boss (10.5k points) | 26 views

1 Answer

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)
by Active (1.2k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,666 questions
56,167 answers
193,838 comments
94,017 users