Santoso Wijaya <santoso.wij...@gmail.com> added the comment: It already does. ;-)
Python 2.7.1+ (default, Apr 6 2011, 16:25:38) [MSC v.1500 32 bit (Intel)] on wi n32 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 [74578 refs] >>> fp = urllib2.urlopen('http://16.foobnix-cms.appspot.com/test_base') [75643 refs] >>> fp.geturl() "http://16.foobnix-cms.appspot.com/test_redirect#json={value:'OK'}" [75645 refs] I'm attaching patches with the appropriate unittest for the redirected case, though. ---------- Added file: http://bugs.python.org/file21555/issue11703_py27_with_redirect.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11703> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com