Wireshark Lab: HTTP
SOLUTION
Supplement to Computer Networking: A Top-Down
Approach, 6th ed., J.F. Kurose and K.W. Ross
© 2005-21012, J.F Kurose and K.W. Ross, All Rights Reserved
The following screen shots showing the HTTP GET and HTTP reply answer these questions:
1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running? 2. What languages (if any) does your browser indicate that it can accept to the server?
3. What is the IP address of your computer? Of the gaia.cs.umass.edu server?
4. What is the status code returned from the server to your browser?
5. When was the HTML file that you are retrieving last modified at the server?
6. How many bytes of content are being returned to your browser?
7. By inspecting the raw data in the packet content window, do you see any headers within the data that are not displayed in the packet-listing window? If so, name one. Answer: no, I don’t see any in the HTTP Message below
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved.
Client IP address
Gaia server IP address
Client running http 1.1
languages accepted
Return status:
200
content: 128 bytes server running http
1.1
document last modified on this date
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved.
2. The HTTP CONDITIONAL GET/response interaction
Here’s a screenshot after doing the two identical HTTP GETs:
First GET, then a reply, then another identical GET, then a reply (304 not modified)
Answer the following questions:
8. Inspect the contents of the first HTTP GET request from your browser to the server.
Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?
9. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?
10. Now inspect the contents of the