2.2-7 A detailed Look at an HTTP GET (3). Again, suppose a client is sending an HTTP GET request message to a web server, gaia.cs.umass.edu. Suppose the client-to-server HTTP GET message is the following (same as in previous problem): GET /kurose_ross_sandbox/interactive/quotation2.htm HTTP/1.1 Host: gaia.cs.umass.edu Accept: text/plain, text/html, text/xml, image/jpeg, image/gif, audio/mpeg, audio/mp4, video/wmv, video/mp4, Accept-Language: en-us, en-gb;q=0.1, en;q=0.7, fr, fr-ch, da, de, fi If-Modified-Since: Wed, 09 Sep 2020 16:06:01 -0700 User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebkit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 Does the client have a cached copy of the object being requested? [Note: you can find additional questions similar to this here.] O Yes, because this is a conditional GET, as evidenced by the If-Modified-Since field. O No, because a client would not request an object if it had that object in its cache. O There's not enough information in the header to answer this question. O Yes, because HTTP 1.1 is being used.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
2.2-7 A detailed Look at an HTTP GET (3). Again, suppose a client is sending an HTTP GET request message to a web server, gaia.cs.umass.edu. Suppose
the client-to-server HTTP GET message is the following (same as in previous problem):
GET /kurose_ross_sandbox/interactive/quotation2.htm HTTP/1.1
Host: gaia.cs.umass.edu
Accept: text/plain, text/html, text/xml, image/jpeg, image/gif, audio/mpeg, audio/mp4, video/wmv, video/mp4,
Accept-Language: en-us, en-gb;q=0.1, en;q=0.7, fr, fr-ch, da, de, fi
If-Modified-Since: Wed, 09 Sep 2020 16:06:01 -0700
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebkit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Does the client have a cached copy of the object being requested?
[Note: you can find additional questions similar to this here.]
O Yes, because this is a conditional GET, as evidenced by the If-Modified-Since field.
O No, because a client would not request an object if it had that object in its cache.
O There's not enough information in the header to answer this question.
O Yes, because HTTP 1.1 is being used.
Transcribed Image Text:2.2-7 A detailed Look at an HTTP GET (3). Again, suppose a client is sending an HTTP GET request message to a web server, gaia.cs.umass.edu. Suppose the client-to-server HTTP GET message is the following (same as in previous problem): GET /kurose_ross_sandbox/interactive/quotation2.htm HTTP/1.1 Host: gaia.cs.umass.edu Accept: text/plain, text/html, text/xml, image/jpeg, image/gif, audio/mpeg, audio/mp4, video/wmv, video/mp4, Accept-Language: en-us, en-gb;q=0.1, en;q=0.7, fr, fr-ch, da, de, fi If-Modified-Since: Wed, 09 Sep 2020 16:06:01 -0700 User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebkit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 Does the client have a cached copy of the object being requested? [Note: you can find additional questions similar to this here.] O Yes, because this is a conditional GET, as evidenced by the If-Modified-Since field. O No, because a client would not request an object if it had that object in its cache. O There's not enough information in the header to answer this question. O Yes, because HTTP 1.1 is being used.
2.2-8 A detailed look at an HTTP reply. Suppose now the server sends the following HTTP response message the client:
HTTP/1.0 200 OK
Date: Wed, 09 Sep 2020 23:46:21 +0000
Server: Apache/2.2.3 (Centos)
Last-Modified: Wed, 09 Sep 2020 23:51:41 +0000
ETag: 17dc6-a5c-bf716880.
Content-Length: 418
Connection: Close
Content-type: image/html
Will the web server close the TCP connection after sending this message?
[Note: you can find more questions like this one here.]
O No, the server will leave the connection open a persistent HTTP connection.
O Yes, because the HTTP response indicated that only one object was requested in the HTTP GET request.
O Yes, the server will close this connection because version 1.0 of HTTP is being used, and TCP connections do not stay open persistently.
O There's not enough information in the response message to answer this question.
Transcribed Image Text:2.2-8 A detailed look at an HTTP reply. Suppose now the server sends the following HTTP response message the client: HTTP/1.0 200 OK Date: Wed, 09 Sep 2020 23:46:21 +0000 Server: Apache/2.2.3 (Centos) Last-Modified: Wed, 09 Sep 2020 23:51:41 +0000 ETag: 17dc6-a5c-bf716880. Content-Length: 418 Connection: Close Content-type: image/html Will the web server close the TCP connection after sending this message? [Note: you can find more questions like this one here.] O No, the server will leave the connection open a persistent HTTP connection. O Yes, because the HTTP response indicated that only one object was requested in the HTTP GET request. O Yes, the server will close this connection because version 1.0 of HTTP is being used, and TCP connections do not stay open persistently. O There's not enough information in the response message to answer this question.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education