Chris Pollett > Old Classes >
CS174

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]

  [Submit Sec1]
  [Submit Sec2]

  [Class Sign Up Sec1]
  [Class Sign Up Sec2]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Hw6]

Practice Exams:
  [Mid1]  [Final]

                           












HW1 Solutions Page

Description of HTTP Experiments

My experiments were carried out on my home Mac. I launched a terminal, then I type 'script' to capture all of the commands I typed. First, as asked, I GET requested / and was returned the index.php of my home machine. Then I repeated the same request using HEAD. This only returned the server headers for that request and not the actual page. Finally, as asked in the homework, I requested an image, once using the Accept: header, once without. Having it did not seem to affect the response. I got the same image both times.

Cartoon Character for President

My html file can be viewed online. You can view the source code in your browser to see that I have satisfied all requirements of Hw1.

Return to homework page.