16. The HTTP GET message Consider the figure below, where a client is sending an
ID: 3751803 • Letter: 1
Question
16. The HTTP GET message Consider the figure below, where a client is sending an HTTP GET server, gaia.cs.umass.edu I message to a web http message Internet host, running a web browser gaia.cs.umass.edu Web server Suppose the client-to-server HTTP GET message is the following: GET / Host: gaia.cs.umass.edu kurose ross/interactive/quotation10.htm HTTP Accept: text/plain, text/html, image/gif, image/peg audio/mp4, audio/mpeg, video application/, q 0.3, fr, fr-ch, ar Accept-Language: en-us, en-gb; q-0.9, en: If-Modified-since: Tue, 09 Dec 2014 14:54:08 EST User Agent: Mozilla/5.0 (WindowS NT 5.1: rv:11.0) Gecko/20100101 Firefox/11.0 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? vernion I What formats of text, images, audio, and video does the client browser prefer to receive? What do the strings "application/*" and"*" signify in the Accept: header? What languages is the browser indicating that it is willing to accept? What is the meaning of the "relative quality factor,"q, associated with the various . version of English? What is the client's preferred version of English? What is the browser's least preferred version of English? Does the browser sending the HTTP message prefer Swiss French over traditional . French? Explain.Explanation / Answer
1. What is the name of the file that is being retreived in this GET message? : quotation10.htm
2. What version of the HTTP is the client running? : Version 1.1
3. What formats of text, images, audio and videos does the client browser prefer to recieve? :
text : plain, html
image : gif, jpeg
audio: mp4, mpeg
video : mp4, wmv
4. What do the strings "applications/*" and "*/*" signify in the accept : header ? :
The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "applications/*" indicating all subtypes of that appliations. The media-range may include media type parameters that are applicable to that range.
5. What languages is the browser indicating that it is willing to accept?
English - United States
English - Great Britain
English - globaly spoken
French - traditional
French - Swiss
Argentina
6. What is the meaning of "relatively quality factor" in the, q" associated with the various versions of English? :
The language quality factor assigned to a language-tag by the Accept-Language field is the quality value of the longest language- range in the field that matches the language-tag. If no language- range in the field matches the tag, the language quality factor assigned is 0.
7. What is the client's preferred version of English? What is the browser's least preferred version of English? :
would mean: "I prefer U.S. English, but will accept British English. Other types of English is least preferrable."
8. Does the browser sending the HTTP message prefer Swiss French over traditional French. Explain? :
In this setting in Firefox traditional French is in first preference, but if that is not available then it would settle for any Fr- ch (French Swiss), sequence of languages are in ths order
en -us, en -gb, en, fr, fr -ch
Hence, traditional French is preferred first before French of Swiss
9. Does the client already have a (possible out of date) copy of the requested file?
Yes. The GET message have : "If- Modified- Since : Tue, 09 Dec 2014 14: 54: 08 EST"
How long ago did the client recieve the file ? : Client have the outdated file since 12 days, 9 months, 4 years.
10 . What is the type of client's browser and operating system ?
Browser : Mozilla Firefox 11.0
Operating System : Windows NT 5.1
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.