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 barry, benjamin.peterson, georg.brandl, gvanrossum, orsenthil, pitrou, r.david.murray, vstinner
Date 2011-03-25.02:42:05
SpamBayes Score 1.9218928e-06
Marked as misclassified No
Message-id <20110325024157.GB2477@kevin>
In-reply-to <1300987962.78.0.747204525702.issue11662@psf.upfronthosting.co.za>
Content
On Thu, Mar 24, 2011 at 05:32:42PM +0000, Guido van Rossum wrote:
> I still don't think we should raise URLError on the bad redirect; we
> should treat it the same as a missing URI/Location header, and it
> will raise HTTPError.

Agreed. Updated the hg repository by raising HTTPError instead of
URLError.

Thing to note - HTTPError does not change anything from the
redirection. It would still give the code as 302 with an additional
message saying that Redirection to 'newurl' is not allowed.
History
Date User Action Args
2011-03-25 02:42:07orsenthilsetrecipients: + orsenthil, gvanrossum, barry, georg.brandl, pitrou, vstinner, benjamin.peterson, r.david.murray
2011-03-25 02:42:05orsenthillinkissue11662 messages
2011-03-25 02:42:05orsenthilcreate