Servlet Example: Showing Request Headers

Request Method: GET
Request URI: /offutt/servlet/showRequestHeaders
Request Protocol: HTTP/1.1
Request User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)

All headers are as follows:

Header NameHeader Value
x-cc-id ccc02-01
if-modified-since Thu, 07 Jan 2010 12:08:57 GMT
host cs.gmu.edu:8080
user-agent CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
accept text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
accept-language en-us,en;q=0.5
accept-encoding gzip
accept-charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
connection close
cache-control no-cache
pragma no-cache
cookie JSESSIONID=23E1E747BA201B01C963E465EA387F3F; SESS8220b6668bc06478d7f90f08b6513347=g9g7s9ejni2t5u6tj4oitpfda4; imstime=1328864902

by: Ajoy Singh