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 orsenthil
Recipients kirax, orsenthil
Date 2010-12-10.12:44:20
SpamBayes Score 0.0042872503
Marked as misclassified No
Message-id <1291985063.05.0.806123742799.issue10671@psf.upfronthosting.co.za>
In-reply-to
Content
Can you point me to your code and error traceback that was observed and some details about server which gave 301/302 Redirect as what was the hostname and where did it redirect to?

I don't see the code changes that you provided in the patch in the latest versions of urllib, but I am equally surprised if the condition that you said may occur. Because Host will be overridden at some point in time in the Request is made for the new redirected url.

You may want to try with python 2.7 or 2.7.1 too and report if you still face the problem.
History
Date User Action Args
2010-12-10 12:44:23orsenthilsetrecipients: + orsenthil, kirax
2010-12-10 12:44:23orsenthilsetmessageid: <1291985063.05.0.806123742799.issue10671@psf.upfronthosting.co.za>
2010-12-10 12:44:20orsenthillinkissue10671 messages
2010-12-10 12:44:20orsenthilcreate