Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Assignment 3: Open Lab

Computer and Communication Networks

Name:

Nadeem Ishaq

Course:

Bete53-C

Date:
23 MAY2019
1) Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server
running?

ANSWER:
My browser and server both running HTTP 1.1 version.

2) What languages (if any) does your browser indicate that it can accept to the server?
ANSWER:
My browser can accept English-US and other English languages from
server.

3) What is the IP address of your computer? Of the gaia.cs.umass.edu server?


ANSWER:
IP ADDRESS of my pc is 192.168.1.101.
Ip address of server is 216.58.207.14

4) What is the status code returned from the server to your browser?

ANSWER:
STATUS CODE returned is 200 OK.

5) When the HTML file that you are retrieving was last modified at the server?

ANSWER:
LAST MODIFIED DATE is 22 MAY 2019.
6 - How many bytes of content are being returned to your browser?

ANSWER:
511 bytes are being returned to my browser.

7 - 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?

ANSWER:
NO, there is no IF-MODIFIED-SINCE line.

8 - Inspect the contents of the server response. Did the server explicitly return the
contents of the file? How can you tell?

ANSWER:
The server did explicitly return the contents of file.wireshark includes a
section titled “ LINE BASED TEXT DATA” which shows what the server
sent back to my browser which is specifically what the website showed
when I brought it up on my browser.

8) Now inspect the contents of the second HTTP GET request from your browser to the
server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what
information follows the “IF-MODIFIED-SINCE:” header?
ANSWER:
YES, there is IF-MODIFIED-SINCE line in the http GET. The
information follows is the date when that address is stored in our cache. If
it is modified after this date, the cache brings that object and stores it and
then returns to us.
9) 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.

ANSWER:
The status code and phrase followed by it is .
NO, it does not explicitly return the contents because its response does not
contain ‘ LINE BASED TEXT DATA ’ section which shows what the server
sent back to my browser which is specifically what the website showed
when I brought it up on my browser.

10) How many HTTP GET request messages were sent by your browser? To which Internet
addresses were these GET requests sent?

ANSWER:
THREE, GET requests were sent by my browser. Internet address to which
these requests were sent is 128.119.245.12,
All three were sent to same internet address.

11) Can you tell whether your browser downloaded the two images serially, or whether
they were downloaded from the two web sites in parallel? Explain.

ANSWER:
My browser downloaded images serially because the first image
was requested and sent before the second image was requested by the
browser.

You might also like