[issue12576] urlib.request fails to open some sites

angus report at bugs.python.org
Sat Jul 23 08:27:43 CEST 2011


angus <angus at amcinnes.info> added the comment:

I'm experiencing a related problem:
---
from urllib.request import urlopen
print(urlopen('https://mtgox.com/').read())
---
prints b'' rather than the page content.

It looks like mtgox.com always sends 'Connection: Keep-Alive'. So some hack like recognising 'tion: close' wouldn't fix it.

----------
nosy: +angus

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12576>
_______________________________________


More information about the Python-bugs-list mailing list