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 dabrahams
Recipients dabrahams
Date 2010-05-16.14:47:09
SpamBayes Score 0.087084405
Marked as misclassified No
Message-id <1274021231.2.0.0953300031131.issue8732@psf.upfronthosting.co.za>
In-reply-to
Content
According to the RFC, the server is allowed to send back any encoding it likes when no Accept-Encoding header is supplied, but all the examples I can find of urllib2.urlopen usage assume they're getting plain text back.  I think it would be better to inject an Accept-Encoding header when none is explicitly supplied so that nobody else trips over this issue.

See http://support.github.com/discussions/site/1510
History
Date User Action Args
2010-05-16 14:47:11dabrahamssetrecipients: + dabrahams
2010-05-16 14:47:11dabrahamssetmessageid: <1274021231.2.0.0953300031131.issue8732@psf.upfronthosting.co.za>
2010-05-16 14:47:09dabrahamslinkissue8732 messages
2010-05-16 14:47:09dabrahamscreate