This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author santoso.wijaya
Recipients Ivan.Ivanenko, asvetlov, orsenthil, santoso.wijaya
Date 2011-04-06.23:54:47
SpamBayes Score 4.3511827e-07
Marked as misclassified No
Message-id <1302134088.59.0.475522240016.issue11703@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-04-06 23:54:48santoso.wijayasetrecipients: + santoso.wijaya, orsenthil, asvetlov, Ivan.Ivanenko
2011-04-06 23:54:48santoso.wijayasetmessageid: <1302134088.59.0.475522240016.issue11703@psf.upfronthosting.co.za>
2011-04-06 23:54:47santoso.wijayalinkissue11703 messages
2011-04-06 23:54:47santoso.wijayacreate