5 Questions on HTTP Protocol - Internet Development - Homework | COMP 250, Assignments of Computer Science

Material Type: Assignment; Professor: McCown; Class: Internet Development; Subject: Computer Science; University: Harding University; Term: Spring 2008;

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-5m3
koofers-user-5m3 🇺🇸

5

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Internet Development Name _________________________________
HTTP Protocol
Homework 1 – 10 points
Use Web Sniffer (http://web-sniffer.net) and other on-line resources to answer the following questions.
1. Concerning the URL http://www.harding.edu/comp/ :
a. (.5 pts) What is the HTTP status code when retrieved?
b. (.5 pts) What is the content type (MIME type) ?
c. (.5 pts) When was this web page last modified?
d. (.5 pts) What web server is this website running?
2. (1 pt) Concerning the URL http://www.harding.edu/comp (No / at the end of the URL). What is the
HTTP status code when retrieved, and what does the status code mean?
3. (1 pt) Concerning the URL http://warrick.cs.odu.edu/BLAH . What is the HTTP status code when
retrieved, and what does the status code mean?
4. Concerning the URL http://www.harding.edu/BLAH :
a. (1 pt) What is the HTTP status code when retrieved?
b. (1 pt) What is it called when a website returns an HTTP 200 status code for a web page that
doesn’t exist on its site? (Hint: see the Wikipedia article for HTTP 404.)
5. Concerning the URL http://warrick.cs.odu.edu/ :
a. (1 pt) What web server is this website running?
b. (1 pt) What is the MIME type of the only image on the page?
c. (1 pt) What is the difference between retrieving this URL with a GET request vs. a HEAD
request? (Hint: Look for the “Request type” in Web Sniffer .)
d. (1 pt) Perform another GET request for the original warrick URL, and then click on the Etag
value (link). This will cause another GET to be performed using an “If-None-Match” header
in the GET request. What HTTP status code is returned? What does this mean?

Partial preview of the text

Download 5 Questions on HTTP Protocol - Internet Development - Homework | COMP 250 and more Assignments Computer Science in PDF only on Docsity!

Internet Development Name _________________________________ HTTP ProtocolHomework 1 – 10 points

Use Web Sniffer (http://web-sniffer.net) and other on-line resources to answer the following questions.

  1. Concerning the URL http://www.harding.edu/comp/ : a. (.5 pts) What is the HTTP status code when retrieved? b. (.5 pts) What is the content type (MIME type)? c. (.5 pts) When was this web page last modified? d. (.5 pts) What web server is this website running?
  2. (1 pt) Concerning the URLHTTP status code when retrieved, and what does the status code mean? http://www.harding.edu/comp (No / at the end of the URL). What is the
  3. (1 pt) Concerning the URL http://warrick.cs.odu.edu/BLAH. What is the HTTP status code when retrieved, and what does the status code mean?
  4. Concerning the URL http://www.harding.edu/BLAH : a. (1 pt) What is the HTTP status code when retrieved? b. (1 pt) What is it called when a website returns an HTTP 200 status code for a web page thatdoesn’t exist on its site? (Hint: see the Wikipedia article for HTTP 404.)
  5. Concerning the URL http://warrick.cs.odu.edu/ : a. (1 pt) What web server is this website running? b. (1 pt) What is the MIME type of the only image on the page? c. (1 pt) What is the difference between retrieving this URL with a GET request vs. a HEADrequest? (Hint: Look for the “Request type” in Web Sniffer .) d. (1 pt) Perform another GET request for the original warrick URL, and then click on the Etag value (link). This will cause another GET to be performed using an “If-None-Match” headerin the GET request. What HTTP status code is returned? What does this mean?