G 100 connue informaon successes 2xx success

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a resource HEAD: return metadata browser: http://localhost:80 –  POST: update a resource, provide input for a program •  Headers: useful info for proxies or the server • Resulting request: GET / HTTP/1.1 –  E.g., desired language - Someday, requests will contain the full URL not just pa Sample Browser Request GET / HTTP/1.1 Host: localhost:8000 User-Agent: Mozilla/5.0 (Macinto ... Accept: text/xml,application/xm ... Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 (empty line) Sample HTTP Response HTTP/1.0 200 OK Date: Wed, 25 Jan 2012 08:11:09 GMT Expires: -1 Cache-Control: private, max-age=0 Content-Type: text/html; charset=ISO-8859-1 Set-Cookie: PREF=ID…. P3P: CP="This is not a P3P policy! S...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online