Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 2: The text below shows the reply sent from the server in response to t

ID: 3887223 • Letter: Q

Question

Question 2:

The text below shows the reply sent from the server in response to the HTTP GET message in the question above. Answer the following questions, indicating where in the message below you find the answer. The characters <cr><lf> are carriage return and line-feed characters.

HTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 2008 12:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora) <cr><lf>Last-Modified: Sat, 10 Dec2005 18:27:46 GMT<cr><lf>ETag: "526c3-f22-a88a4c80"<cr><lf>Accept- Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf> Keep-Alive: timeout=max=100<cr><lf>Connection: Keep-Alive<cr><lf>Content-Type: text/html; charset =ISO-8859-1<cr><lf><cr><lf><!doctype html public "- //w3c//dtd html 4.0 transitional//en"><lf><html><lf> <head><lf> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><lf><meta name="GENERATOR" content="Mozilla/4.79 [en] (Windows NT 5.0; U) Netscape]"><lf> <title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf> <much more document text following here (not shown)>

a) As the server able to successfully find the document or not? What time was the document reply provided?

b) When was the document last modified?

c) How many bytes are there in the document being returned?

d) What are the first 5 bytes of the document being returned? Did the server agree to a persistent connection?

Explanation / Answer

a) Yes the server is able to successfully find the document the server response OK and the response code 200 confirms it and The document reply was provided on Tue, 07 Mar 2008 12:39:45GMT

b) document was last modified on Sat, 10 Dec2005 18:27:46 GMT

c)There are 3874 bytes in the document

d) The two <cr><lf><cr><lf> indicates the ending of the header, so the first 5 bytes are : <!doc

  Yes , the server agreed to a persistent connection ( keep-alive )

PLEASE RATE !!

Thanks !

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote