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 ccc01-01
host cs.gmu.edu:8080
user-agent CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
accept text/xml,application/xhtml+xml,text/html;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=C754F1125A30073B7ADAB0FC78E164F3

by: Ajoy Singh