[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#79002: http method should support HTTP redirects



On 11 Dec 2000, Itai Zukerman wrote:

> Looking at the http method, it seems like it would be pretty easy to
> enqueue new (HTTP) URIs for redirects in http.cc.  That "solution" is
> definitely a hack (it messes up concurrent downloads?), and what we
> really need, I think, is a new message we can pass back to apt:
> 
>   30x URI Redirection
> 
> Then, apt can re-issue a 600 to the appropriate method.  Is this being
> worked on?  I need it for a project I'm doing...

Doing redirects is extremly risky, you may not get the file you requested
after following the redirect, and it tends to hide misconfigured mirrors.
I am not super interested in having it supported by default.

Generajing redirect messages is probably the best way to do it, but that
is somewhat complicated to get right.

Jason



Reply to: