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

Yuan HOng hongyuan1306 at gmail.com
Tue Feb 3 04:48:40 EST 2009


Hi,

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

大管家网上建材超市
装修装潢建材一站式购物
http://www.homemaster.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090203/370a9b22/attachment-0001.html>


More information about the Python-list mailing list