[issue11703] Bug in python >= 2.7 with urllib2 fragment

Ivan Ivanenko report at bugs.python.org
Wed Mar 30 22:57:23 CEST 2011


Ivan Ivanenko <ivan.ivanenko at gmail.com> added the comment:

Santa4nt, I think you also need to check case with Redirect Response URL:

print urllib2.urlopen("http://16.foobnix-cms.appspot.com/test_base").geturl()

python 2.6 returns OK
http://16.foobnix-cms.appspot.com/test_redirect#json={value:'OK'}

python 2.7 returns KO
http://16.foobnix-cms.appspot.com/test_redirect

----------

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


More information about the Python-bugs-list mailing list