Package: lftp
Version: 3.4.2-1
Severity: normal
Hi,
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>
Cheers,
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages lftp depends on:
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libgcc1 1:4.0.2-9 GCC support library
ii libgcrypt11 1.2.2-1 LGPL Crypto library - runtime libr
ii libgnutls12 1.2.9-2 the GNU TLS library - runtime libr
ii libgpg-error0 1.1-4 library for common error values an
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii libreadline5 5.1-6 GNU readline and history libraries
ii libtasn1-2 0.2.17-1 Manage ASN.1 structures (runtime)
ii netbase 4.24 Basic TCP/IP networking system
ii zlib1g 1:1.2.3-9 compression library - runtime
lftp recommends no packages.
-- no debconf information
--
Loïc Minier <[EMAIL PROTECTED]>
Current Earth status: NOT DESTROYED