This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients orsenthil, pitrou, rhettinger
Date 2014-09-21.00:07:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The content-type returned is text/javascript; charset=UTF-8 and with
> sending of Accept */* the content-type is set to application/json;
> charset=UTF-8 (which is more desirable).

Is that a bug in urllib, or in Facebook's HTTP implementation?
Frankly, we shouldn't jump to conclusions just because one specific use case is made better by this. Forcing an accept header may totally change the output of other servers and break existing uses.

(and besides, the content-type header is unimportant when you know what to expect, which is normally the case when calling an API)
Date User Action Args
2014-09-21 00:07:18pitrousetrecipients: + pitrou, rhettinger, orsenthil
2014-09-21 00:07:18pitrousetmessageid: <>
2014-09-21 00:07:18pitroulinkissue22450 messages
2014-09-21 00:07:17pitroucreate