Message132068
| 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. |
|