preview

Htp Essay

Good Essays
Open Document

1. Start up your web browser. 2. Start up the Wireshark packet sniffer, as described in the Introductory lab (but don’t yet begin packet capture). Enter “http” (just the letters, not the quotation marks) in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window. (We’re only interested in the HTTP protocol here, and don’t want to see the clutter of all captured packets). 3. Wait a bit more than one minute (we’ll see why shortly), and then begin Wireshark packet capture. 4. Enter the following to your browser http://gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file1.html Your browser should display the very simple, one-line HTML file. 5. Stop Wireshark …show more content…

Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?
A)
Yes,The last modification date is: If-Modified-Since: Sun, 24 Sep 2017 05:59:01 GMT\r\n which was from the previous request.
11. What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Did the server explicitly return the contents of the file? Explain.
A)The HTTP status code and phrase returned from the server: HTTP/1.1 304 Not Modified.
The server dint return anything for the second time. 12. How many HTTP GET request messages did your browser send? Which packet number in the trace contains the GET message for the Bill or Rights?
A) [HTTP request 1/1].The packet number is 28 that traces the GET message for the Bill or Rights.

13. Which packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request?
A)The packet number is 32 that contains the status code and phrase associated with the response to the HTTP GET request.
14. What is the status code and phrase in the response?
A)304 is the status code Not Modified is the phrase in the response.
15. How many data-containing TCP segments were needed to carry the single HTTP response and the text of the Bill of Rights?
A)234,237,239
16. How many HTTP GET request messages did your browser send? To which Internet addresses were these GET requests sent?
A)3 HTTP requests

Get Access