HTTP Sample Request and Response

Request

GET /~ggbaker/test.html HTTP/1.1 
Host: cmpt470.csil.sfu.ca 
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/6.0.2 
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Language: en 
Accept-Encoding: gzip, deflate 
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive

[blank line]

Response

HTTP/1.1 200 OK 
Server: Apache/2.2.14 (Ubuntu) 
Last-Modified: Thu, 27 May 2010 02:42:18 GMT 
ETag: "343f8-22a-4878a56c79680" 
Content-Length: 554 
Vary: Accept-Encoding 
Content-Type: text/html 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html> ...   (resource contents continue)