- NetA2008\HTTP Headers\request_www_google_com.txt
- NetA2008\HTTP Headers\response_www_google_com.txt
Listings
- ^ NetA2008\HTTP Headers\request_www_google_com.txt
-
HTTP/1.1 Request Header
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
## Here user-agent is Mozilla (browser) which is originating the request to the server. By knowing this server may leave things
## which won't make sense to the browser.
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,
text/plain;q=0.8,
image/png,*/*;q=0.5
## The requster prefers texts and applications of extensions xml, xhtml and html.
## It will accept text/html with 10% in mark-down quality.
## If not possible will accept text/plain with 20% in mark-down quality.
## The requster also prefers image/png.
## And if nothing mentioned above is not available, it will accept anything with 50% in mark-down quality.
Accept-Language: en-us,en;q=0.5
## The requester prefers US english, but it will also accept english of anytype.
Accept-Encoding: gzip,deflate
## The requester will accept only content encoding of gzip and deflate.
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
## The requester wants charachter set of ISO-8859-1 with quality 1 and utf-8 with 20% down in quality. Otherwise,
## anything with 30% mark-down in quality will be accepted.
Keep-Alive: 300
Connection: keep-alive
## The requester wants server to hold the connection for 300msec after response.
Cookie: PREF=ID=84e3df1d485fc17d:TM=1203853428:LM=1203853428:S=0u6pjiw2HiJmf_Rd
## Google stores PREF in cookie to know user preferences.Reference
http://en.wikipedia.org/wiki/HTTP_cookie.
- ^ NetA2008\HTTP Headers\response_www_google_com.txt
-
HTTP/1.1 Response Header
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=UTF-8
## The server responded with content text/html and character-set UTF-8.
Content-Encoding: gzip
Server: gws
## Google used gws software for giving the response.
## gws stands for Google Web Server.
Content-Length: 2382
Date: Sun, 24 Feb 2008 12:11:35 GMT
|