Professional Documents
Culture Documents
Computer Networks HW 1
Computer Networks HW 1
1) Browser is running HTTP version 1.1 and server is also running HTTP version 1.1
5. The HTML file retrieved from the server was last modified on
09/15/2014(Monday) 04:08:01 GMT.
6. 482 Bytes of content was returned from the server to the browser.
Part 2 :
1. No, an "IF-MODIFIED-SINCE" line is not in the first HTTP GET.
2. The content in the file is returned by the server. The HTTP status code for the first
response is "200 OK" which means that the server fulfilled the request and sent
response back to the browser.
3. The "IF-MODIFIED-SINCE:" is in the second HTTP GET request. The "IF-MODIFIEDSINCE:" header is followed by the day, date and time in GMT.
4. The server responded with "304 Not Modified" status code and phrase. The server
did not send the contents of the file because the file was not modified since the last
cache and file in the cache with Etag is returned to the browser.
Part 4 :
1. Browser sent four HTTP GET request messages.
2. Below are the internet addresses the browser sent GET requests.
128.119.245.12
gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file4.html
165.193.140.14
www.pearsonhighered.com/assets/hip/us/hip_us_pearsonhighered/images/pearson_l
ogo.gif
128.119.240.90
manic.cs.umass.edu/~kurose/cover_5th_ed.jpg
caite.cs.umass.edu/~kurose/cover_5th_ed.jpg
Part 4 :
a) It takes 25 sec for B to receive all 3 packets from A.
b) It takes 5(n+2) sec for B to receive all n packets from A.