Using xAuth (we are approved) to request an access token (https://api.twitter.com/oauth/access_token) as per the API instructions:
If I specify an “Accept-Encoding: deflate, gzip” header in the request (something that our http lib does automatically), I receive a response from Twitter that is definitely zipped, yet there is no Content-Encoding header in the response (see below). Our http lib looks for the encoding specification and acts accordingly. Is this lack of a Content-Encoding header a bug?
Thanks!
Date: Tue, 13 Mar 2012 18:44:15 GMT
Status: 200 OK
X-Frame-Options: SAMEORIGIN
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
X-MID: 9d68f9ba816cd125576c995bc1647051b699526b
Content-Type: text/html; charset=utf-8
X-Transaction: 36d56a3fd558837b
X-Runtime: 0.05034
ETag: "9b6ea92a482dcd6e729e2ad5c250126e"
Strict-Transport-Security: max-age=631138519
Pragma: no-cache
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Tue, 13 Mar 2012 18:44:15 GMT
Set-Cookie: k=10.34.250.117.1331664255324786; path=/; expires=Tue, 20-Mar-12 18:44:15 GMT; domain=.twitter.com
Set-Cookie: guest_id=xx; domain=.twitter.com; path=/; expires=Fri, 14-Mar-2014 06:44:15 GMT
Set-Cookie: auth_token=xx; domain=.twitter.com; path=/; HttpOnly
Set-Cookie: auth_token_session=true; domain=.twitter.com; path=/
Set-Cookie: auth_token=xx; domain=.twitter.com; path=/; secure;