Tuesday, November 20, 2012

Headers

There's theory and specification, and then there's actual behaviour. I wanted to see what kind of content related headers were passed around out there. Here's what I found from these URLs.

http://www.salesforce.com/
http://www.baidu.com/
http://www.elysee.fr/
http://government.ru/
https://iop.intuit.com/

Accept-Encoding: gzip, deflate
Transfer-Encoding: chunked

Content-Encoding: gzip

content-transfer-encoding: binary

Content-Type: text/plain; charset=UTF-8
Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=iso-8859-1
Content-Type: text/html;charset=ISO-8859-1
Content-Type: text/html;charset=gbk
Content-Type: text/css; charset=UTF-8
Content-Type: text/css
Content-Type: text/javascript
Content-Type: text/javascript; charset=utf-8
Content-Type: application/x-javascript
Content-Type: application/x-javascript; charset=utf-8
Content-Type: application/javascript;charset=utf-8
Content-Type: application/json;charset=utf-8
Content-Type: application/ocsp-request
Content-Type: application/ocsp-response
Content-Type: image/gif
Content-Type: image/jpeg
Content-Type: image/png
Content-Type: image/x-icon

Content-Length: 20
web
{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 307 ] }, "domain": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }