Question 3. HTTP (10 points) Consider the following string of ASCII characters t
ID: 3752767 • Letter: Q
Question
Question 3. HTTP (10 points) Consider the following string of ASCII characters that were captured by Wireshark when the browser sent an HTTP GET message (i.e., this is the actual content of an HTTP GET message). The characters are carriage return and line-feed characters (that is, the italized character string «o in the text below represents the single carriage-return character that was contained at that point in the HTTP header). Answer the following questions, indicating where in the HTTP GET message below you find the answer. a. What is the URL of the document requested by the browser? b. What version of HTTP is the browser running c. Does the browser request a non-persistent or a persistent connection? d. What is the IP address of the host on which the browser is running? e. What type of browser initiates this message? Why is the browser type needed in an HTTP request message? Page 1 of 2 Dr. Chen Fall 2018 GET /cs453/index.html HTTP/1.1clf>Host: gai a.cs.umass.eduAccept-Language: en-us, en:g-o.5crciE Accept- Encoding: zip, deflateccr>cifsAccept-charset: ISC -8859-1,utf-8:q-o.7,-0.7serclfskeep-Alive: 300ccr> IEsConnection: keep-alivescrxitxcrcitsExplanation / Answer
1. URL of the document is : http://gaia.cs.umass.edu/cs453/index.html. This opens a connection with the host gaia.cs.umass.edu and then requests a specific page from them.
2. Version of HTTP is 1.1 denoted by HTTP / 1.1
3.The browser requests a persistent connection. This is shown by the line “Connection:keep-alive.”.
4.The IP address of the host on which the browser is running is http://gaia.cs.umass.edu/
5. The type of browser that initiates this message is Mozilla 5.0 on Windows. The browser type is needed in an HTTP request message because different browsers may handle the same webpage differently, due to having different capabilities.This is because HTTP specifications only define a protocol for interaction between server and client programs.
5.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.