|
Web Design ![]() This website demonstrates using wikis as teaching and learning tool. The course instructor is happy to share the teaching materials here with those who find it readable. |
Tutorial /
HTTP HeadersIntroduction: Install the Live HTTP Headers (Add-ons for Firefox). Carry out the following activities to study more about HTTP headers.
Activity One: Server
(Q1) www.ouhk.edu.hk
(Q2) ole.ouhk.edu.hk
(Q3) www.microsoft.com.hk
Activity Two: count HTTP Requests
(Q4) www.gov.hk
(Q5) www.ouhk.edu.hk
Activity Three: WWW-Authenticate and Authorization
(Q6) Why does your browser know that it is a password-protected webpage (Which response header) ?
(Q7) What does your browser send when it tries to access the webpage with the username and password (Which request header)?
Activity Four: Cache Mechanism
(Q8) What does your browser send to allow the use of cached content it has got previously?
(Q9) What does your browser send to enforce that no cache will be used?
(Q10) What is the Etag value of the above resources? When will it be changed?
Activity Five: Referer
(Q11) What is the referer when your browser retrieve the resource: www.stepwise.hk/_content/wdwiki-logo.png
(Q12) What is the referer now?
Activity Six: Referer from search engines
(Q13) What is the referer when your browser retrieve the result webpage?
Activity Seven: Cookie
(Q14) How does the server remember that you have been logged in to access other resources of Facebook?
Activity Eight: HTTP POST
(Q15) What is also be submitted apart from HTTP request headers? What is the length of that content?
Activity Nine: Redirect
(Q16) What is the redirect page?
Activity Ten: Forbidden
(Q17) What are the differences among 401 Unauthorized, 403 Forbidden and 404 Not Found in accessing a web page?
|