Message132068
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. |
|
Date |
User |
Action |
Args |
2011-03-25 02:42:07 | orsenthil | set | recipients:
+ orsenthil, gvanrossum, barry, georg.brandl, pitrou, vstinner, benjamin.peterson, r.david.murray |
2011-03-25 02:42:05 | orsenthil | link | issue11662 messages |
2011-03-25 02:42:05 | orsenthil | create | |
|