0% found this document useful (0 votes)
23 views

HTTP

The browser is running HTTP 1.1 and communicating with a server also running HTTP 1.1. The browser accepts English and identifies itself with an IP of 10.10.30.62 while the server has an IP of 128.119.245.12. The initial request returns a 200 status code and the content is 128 bytes with a last modified date of Sat, 07 Oct 2023 05:59:01 GMT. A second request includes an If-Modified-Since header referring to this date and receives a 304 status, indicating the content has not changed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

HTTP

The browser is running HTTP 1.1 and communicating with a server also running HTTP 1.1. The browser accepts English and identifies itself with an IP of 10.10.30.62 while the server has an IP of 128.119.245.12. The initial request returns a 200 status code and the content is 128 bytes with a last modified date of Sat, 07 Oct 2023 05:59:01 GMT. A second request includes an If-Modified-Since header referring to this date and receives a 304 status, indicating the content has not changed.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

NGAY 10/7/2023

LAB: HTTP
1. Is your browser running HTTP version 1.0, 1.1, or 2? What version of HTTP is the server
running?
Browser: HTTP 1.1 Web Server: HTTP 1.1

2. What languages (if any) does your browser indicate that it can accept to the server?
Ngon ngu duoc su dung: en-US (Tieng Anh-My)

3. What is the IP address of your computer? What is the IP address of the gaia.cs.umass.edu
server?
My computer IP: 10.10.30.62 Gaia.cs.umass.edu IP: 128.119.245.12

4. What is the status code returned from the server to your browser?
Status code return: 200

5. When was the HTML file that you are retrieving last modified at the server?
Last-Modified: Sat, 07 Oct 2023 05:59:01 GMT

6. How many bytes of content are being returned to your browser?


So byte duoc phan hoi ve browser: 128 bytes

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.
Cac header khong duoc hien thi trong packet-listing window: Last-modified, Accept-
Ranges, …

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?
Khong ton tai dong IF-MODIFIED-SINCE
9. Inspect the contents of the server response. Did the server explicitly return the contents of the
file? How can you tell?
Thong tin trong file duoc server dua ve duoc hien tri ro rang trong Line-based text data

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? If so, what information follows the “IF-
MODIFIED-SINCE:” header?
Co xuat hien dong IF-MODIFIER-SINCE, thong tin theo sau: Sat, 07 Oct 2023 05:59:01
GMT \r\n
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.
HTTP status code and phrase returned: 304 Not Modified
Server khong gui noi dung file
Ly do: Boi vi tu sau thoi diem nay Sat, 07 Oct 2023 05:59:01 GMT, file duoc yeu cau chua
duoc modified nen status code tra ve la 304

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?
Browser gui hai HTTP GET request messages

You might also like