Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Hmm, it looks like a web server problem to me.
urllib2 uses the HTTP/1.1 protocol, and sends the "Connection: close" header. I hacked urllib2: when this header is not sent, the content is retrieved normally. This page: http://www.mail-archive.com/us...@tomcat.apache.org/msg28684.html describes the same problem. The web site above does use Tomcat (can be seen in the response headers), maybe they have a wrong version? ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9655> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com