Interactive end-of-chapter exercises


The HTTP GET message

Consider the figure below, where a client is sending an HTTP GET message to a web server, gaia.cs.umass.edu




Suppose the client-to-server HTTP GET message is the following:

GET /kurose_ross_sandbox/interactive/quotation9.htm HTTP/1.0
Host: gaia.cs.umass.edu
If-Modified-Since: Fri, 02 Dec 2022 07:26:44 -0800



Question List


1. What is the name of the file that is being retrieved in this GET message?

2. What version of HTTP is the client running?

3. True or False: The client already has a cached copy of the file




Solution


1. The name of the file is quotation9.htm.

2. The client is running on HTTP/1.0

3. True. The client has a cached copy of the file that was updated on: Fri, 02 Dec 2022 07:26:44 -0800



That's incorrect

That's correct

The answer was: quotation9.htm

Question 1 of 3

The answer was: HTTP/1.0

Question 2 of 3

The answer was: True

Question 3 of 3

Try Another Problem

We gratefully acknowledge the programming and problem design work of John Broderick (UMass '21), which has really helped to substantially improve this site.

Copyright © 2010-2022 J.F. Kurose, K.W. Ross
Comments welcome and appreciated: kurose@cs.umass.edu