Hello,

I got this report/request:

> Package: lftp
> Version: 3.4.2-1

>  lftp doesn't seem to follow HTTP 302 responses ("Found" redirects).
> 
>  When I try downloading stuff via a script from
>  http://download.gnome.org/ directly, lftp fails (no file found), but it
>  should follow the redirect.
> 
>  Here's what I see in a network trace:
> PROPFIND /pub/GNOME/sources/metacity/2.12/ HTTP/1.0
> 
> Host: download.gnome.org
> 
> User-Agent: lftp/3.4.2
> 
> Accept: */*
> 
> Depth: 1
> 
> Content-Type: text/xml
> 
> Content-Length: 68
> 
> Via: 1.1 localhost.localdomain:3128 (squid/2.5.STABLE12)
> 
> X-Forwarded-For: 127.0.0.1
> 
> Cache-Control: max-age=259200
> 
> Connection: keep-alive
> 
> 
> 
> <?xml version="1.0" ?><propfind xmlns="DAV:"><allprop/></propfind>
> 
> HTTP/1.1 302 Found
> 
> Date: Sat, 18 Feb 2006 19:10:01 GMT
> 
> Server: Apache/2.0.46 (Red Hat)
> 
> Location: http://ftp.gnome.org/pub/GNOME/pub/GNOME/sources/metacity/2.12/
> 
> Content-Length: 334
> 
> Connection: close
> 
> Content-Type: text/html; charset=iso-8859-1
> 
> 
> 
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>302 Found</title>
> </head><body>
> <h1>Found</h1>
> <p>The document has moved <a 
> href="http://ftp.gnome.org/pub/GNOME/pub/GNOME/sources/metacity/2.12/";>here</a>.</p>
> <hr />
> <address>Apache/2.0.46 (Red Hat) Server at download.gnome.org Port 
> 80</address>
> </body></html>

What do you think?

-- 
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to