0% found this document useful (0 votes)
11 views12 pages

HTTP

The document summarizes the results of a series of labs exploring HTTP requests and responses between a browser and server. It finds that: 1. The browser and server support HTTP 1.1. The browser accepts multiple languages including Vietnamese and English. 2. The browser sends an "If-Modified-Since" header in subsequent requests, receiving a 304 status code if the content is unchanged. 3. The browser makes three separate GET requests to load a web page - one each for the main content, logo, and embedded image from different servers. 4. Images are downloaded serially rather than in parallel, as evidenced by the second request only occurring after the first response. 5. A

Uploaded by

ngiahuy1004
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)
11 views12 pages

HTTP

The document summarizes the results of a series of labs exploring HTTP requests and responses between a browser and server. It finds that: 1. The browser and server support HTTP 1.1. The browser accepts multiple languages including Vietnamese and English. 2. The browser sends an "If-Modified-Since" header in subsequent requests, receiving a 304 status code if the content is unchanged. 3. The browser makes three separate GET requests to load a web page - one each for the main content, logo, and embedded image from different servers. 4. Images are downloaded serially rather than in parallel, as evidenced by the second request only occurring after the first response. 5. A

Uploaded by

ngiahuy1004
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

LAB2.

1:
TRÌNH DUYỆT

MÁY CHỦ

1. my browser running HTTP version 1.1. the server is running HTTP version 1.1
2. My browser indicate it can accept the following :"vi,en-US;q=0.9,en;q=0.8,ar;q=0.7\r\n"
found”accept-language” in [Link]
3. the IP address of your computer is [Link]. The IP address of the [Link]
server is [Link]
4. For the return status code we need to click on [Link] destination then the “
Hypertext Transfer Protocol” where it says 200.
5. Last-Modified: “Fri, 06 Oct 2023 05:59:02 GMT\r\n”
6. 128 bytes
7. No different headers are displayed in the packet window come to my eye if there are any.

LAB2.2:
8. I don’t see an “IF-MODIFIED-SINCE” line in the HTTP GET

9. Inspect the contents of the first HTTP GET

the server explicitly return the contents of the file. Because I can see the text/html returned which is
what opened in the browser window
10.
I see an “IF-MODIFIED-SINCE” line in the HTTP GET
Information follows the “IF-MODIFIED-SINCE:” header: “Fri, 06 Oct 2023 05:59:02 GMT\r\n”
11. The HTTP status as” 304 Not Modified” and does not return anything this time

LAB2.3:
[Link] browser only sent 1 HTTP GET request to the server. The Packet that contained the GET
message was packet number 98.
[Link] 104 contains the status code and phrase associated with the response to the HTTP GET
request
[Link] is 200(OK)

15. Three packets: 104,105,107

LAB2.4:
16.
My browser sent 3 http GET
message requests. One each to
each for each of
the following: The initial
page, the Pearson logo, and
the cover of the Pearson book.
The initial page:
[Link]
Pearson logo: [Link]
Cover of the Pearson book:
[Link]
My browser sent 3 http GET
message requests. One each to
each for each of
the following: The initial
page, the Pearson logo, and
the cover of the Pearson book.
The initial page:
[Link]
Pearson logo: [Link]
Cover of the Pearson book:
[Link]
My browser sent 3 http GET
message requests. One each to
each for each of
the following: The initial
page, the Pearson logo, and
the cover of the Pearson book.
The initial page:
[Link]
Pearson logo: [Link]
Cover of the Pearson book:
[Link]
My browser sent 3 http GET message requests. One each to each for each of the following: The
initial page, the Pearson logo, and the cover of the Pearson book.
The initial page: [Link]
Pearson logo: [Link]
Cover of the Pearson book: [Link]

My browser sent 3 http GET


message requests. One each to
each for each of
the following: The initial
page, the Pearson logo, and
the cover of the Pearson book.
The initial page:
[Link]
Pearson logo: [Link]
Cover of the Pearson book:
[Link]

The browser downloaded the


17.

two images in serially. I


believe this to be the case
because the first image was
requested and sent before the
second image was
requested by the browser. Had
they been running in parallel,
both files would have been
requested then would have
returned in the same time
period. In this case however,
the
second image was only
requested after the first image
came back
17. The browser downloaded the two images in serially. I believe this to be the case because the
first image was requested and sent before the second image was requested by the browser. Had they
been running in parallel, both files would have been requested then would have returned in the
same time period. In this case however, the second image was only requested after the first image
came back

LAB2.5
18. 401 Unauthorized
19 Authorization: “Basic d2lyZXNoYXJrLXN0dWRlbnRzOm5ldHdvcms=\r\n”

You might also like