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 <1411258038.11.0.395450671298.issue22450@psf.upfronthosting.co.za>
In-reply-to
Content
> 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)
History
Date User Action Args
2014-09-21 00:07:18pitrousetrecipients: + pitrou, rhettinger, orsenthil
2014-09-21 00:07:18pitrousetmessageid: <1411258038.11.0.395450671298.issue22450@psf.upfronthosting.co.za>
2014-09-21 00:07:18pitroulinkissue22450 messages
2014-09-21 00:07:17pitroucreate