[darcs-users] HTTP redirect, SSH push minor problems.

David Roundy droundy at abridgegame.org
Thu May 20 10:43:57 UTC 2004

On Wed, May 19, 2004 at 11:10:12PM +0300, Tuomo Valkonen wrote:
> On Tue, May 18, 2004 at 06:17:16AM -0400, David Roundy wrote:
> > I don't know much about this, I'm afraid--I don't know how http redirects
> > work.  Darcs either uses libcurl or curl or wget to get files via http.  It
> > would probably be most helpful to test using curl, and see what curl gives
> > you when you use it on your redirected web address.  It definitely would be
> > nice to have this work...
> AFAIK redirection is indicated by the error code 302 and the 'Location' 
> field of the http response header set to the correct location.
> Running 'curl' on the command line only gives that HTML, but if I pass
> -L to curl, it will follow the redirection.

Thanks for explaining this.  Benedikt has sent in a patch to fix darcs'
behavior when using either curl or libcurl, so this should be fixed now.
David Roundy

More information about the darcs-users mailing list