(a) Was the server able to successfully find the document or not? What time was the server reply provided? (b) When was the document last modified? (c) How many bytes are there in the content being returned? (d) What are the first 5 bytes of the document being returned?
4. The text below shows the reply sent from a server in response to an HTTP GET message as captured by Wireshark.
HTTP/1.1 200 OK\r\n
Date: Fri, 27 Jan 2023 21:23:36 GMT\r\n
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 mod_perl/2.0.11 Perl/v5.16.3\r\n
Last-Modified: Tue, 01 Mar 2016 18:57:50 GMT\r\n
ETag: "a5b-52d015789ee9e"\r\n
Accept-Ranges: bytes\r\n
Content-Length: 2651\r\n
Keep-Alive: timeout=5, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: text/html; charset=UTF-8\r\n
\r\n
[HTTP response 1/1]
[Time since request: 0.035874000 seconds]
[Request in frame: 784]
[Request URI: http://gaia.cs.umass.edu/]
File Data: 2651 bytes
Line-based text data: text/html (68 lines)
<html>\n
<head>\n
<title>
</title>\n
</head>\n
<body bgcolor="#ffffff">\n
More document text follows, though not shown here.
Answer the following questions, indicating where in the message above you find the answer.
(a) Was the server able to successfully find the document or not? What time was the server reply provided?
(b) When was the document last modified?
(c) How many bytes are there in the content being returned?
(d) What are the first 5 bytes of the document being returned?
5. Obtain the HTTP/2 specification (RFC 7540). Answer the following questions:
(a) What are the fields in the frame header, and how long is each field?
(b) What is the maximum length of the frame payload?
(c) What is the error code for ENHANCE_YOUR_CALM and what does this error code mean?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps