Consider the figure below where a client is sending an HPPT GET message to a web
ID: 3680716 • Letter: C
Question
Consider the figure below where a client is sending an HPPT GET message to a web server gaia c.s umass edu. Suppose the client-to-server HTTP GET message is the following: Answer the following questions: What is the name of the file that is being retrieved in this GET message? What version of HTTP is the client running? Does the client already have a (possibly out-of-date) copy of the requested file? Explain If so approximately how long ago did the client receive the file assuming the GET request has just been issued?Explanation / Answer
Request:
GET /kurose_ross/iteractive/quotation4.htm HTTP/1.0
HOST: gaia.cs.umass.edu
If-Modified-Since: Sun,20 Oct 2013 19:16:42 EDT
Answers:
1) Name of the file being retrieved is "quotation.htm".
(last path of the URL is quotation.htm)
2) Client is running HTTP version "1.0". Because in its request is has mentioned that it runs HTTP/1.0.
3) Yes,client already has copy of the requested file.Because "If-Modified-Since" keyword is mentioned in its request.Server will send file if it is modified after the given date.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.