IP LAB 3 HTTP - RahulMMenon011/Network_Fundamentals GitHub Wiki
- Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
Version of http is 1.1
2.What languages (if any) do your browser indicate that it can accept to the server?
Languages en-US
- What is the IP address of your computer? Of the gaia.cs.umass.edu server?
- What is the status code returned from the server to your browser?
- When was the HTML file that you are retrieving last modified at the server?
- 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.
No
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?
No there is no IF-MODIFIED-SINCE 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?
The server did explicitly return the contents.
10.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? What information follows the “IF-MODIFIED-SINCE:” header?
Yes, in the second GET request there is an IF-MODIFIED-SINCE line
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 file’s contents? Explain.
Status code is 304 not modified,server did not return the content explicitly.
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?
My browser sent only 1 HTTP GET request, the packet number was 300.
13.Which packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request?
Packet 315 contains the status code and the phrase.
14.What is the status code and phrase in the response?
Status code is 200 and response phrase is OK.
15.How many data-containing TCP segments were needed to carry the single HTTP response and the text of the Bill of Rights?
2 TCP Segments
16.What is the server’s response (status code and phrase) in response to the initial HTTP GET message from your browser?
Status code is 401,resoonse is unauthorized acess.
17.When your browser sends the HTTP GET message for the second time, what new field is included in the HTTP GET message?