urllib2.open always send 'Accept-Encoding: gzip, deflate' under Windows

Yuan HOng hongyuan1306 at gmail.com
Tue Feb 3 10:48:40 CET 2009


I got the reason. It has nothing to do with Python and its libraries.

I have Symantec Client Security installed on the test machine, and it is
modifying the content encoding header for outgoing http request, which is a
strange thing. Disable the firewall and the problem goes away.

Hong Yuan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090203/370a9b22/attachment.html>

More information about the Python-list mailing list