[New-bugs-announce] [issue9655] urllib2 fails to retrieve a url which is handled correctly by urllib

Albert Weichselbraun report at bugs.python.org
Sat Aug 21 12:27:34 CEST 2010


New submission from Albert Weichselbraun <albert.weichselbraun at gmail.com>:

urllib2 fails to retrieve the content of http://www.mfsa.com.mt/insguide/english/glossarysearch.jsp?letter=all

>>> urllib2.urlopen("http://www.mfsa.com.mt/insguide/english/glossarysearch.jsp?letter=all").read()
''

urllib handles the same link correctly:

>>> len( urllib.urlopen("http://www.mfsa.com.mt/insguide/english/glossarysearch.jsp?letter=all").read() )
56105

----------
components: Library (Lib)
messages: 114482
nosy: Albert.Weichselbraun
priority: normal
severity: normal
status: open
title: urllib2 fails to retrieve a url which is handled correctly by urllib
type: behavior
versions: Python 2.6

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


More information about the New-bugs-announce mailing list