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

Bug#121910: marked as done (apt: does not honor 302 return code from http get)



Your message dated Fri, 30 Nov 2001 22:33:47 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1011130223255.19214B-100000@wakko.deltatee.com>
and subject line Bug#121910: apt: does not honor 302 return code from http get
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Dec 2001 02:20:51 +0000
>From aaron@kitten.net.au Fri Nov 30 20:20:51 2001
Return-path: <aaron@kitten.net.au>
Received: from meow.kitten.net.au [202.1.224.194] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 169zlq-0001cM-00; Fri, 30 Nov 2001 20:20:50 -0600
Received: from aaron by meow.kitten.net.au with local (Exim 3.32 #1 (Debian))
	id 169zlj-0002fn-00; Sat, 01 Dec 2001 12:20:43 +1000
From: Aaron Howell <aaron@meow.kitten.net.au>
Subject: apt: does not honor 302 return code from http get
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10
Message-Id: <[🔎] E169zlj-0002fn-00@meow.kitten.net.au>
Sender: Aaron Howell <aaron@kitten.net.au>
Date: Sat, 01 Dec 2001 12:20:43 +1000
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4
Severity: normal

Apt does not follow the returned url when a 302 code is returned.
This breaks downloading via http from some mirrors  (notably ftp.planetmirror.com)
Apt should probably at least try to follow the returned link, in case the next hop is the actual deb it was trying to get.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux meow 2.4.16-pre1 #1 Sun Nov 25 18:14:32 EST 2001 i686 unknown

Versions of the packages apt depends on:
ii  libc6          2.2.4-6        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-0.01100 The GNU stdc++ library

---------------------------------------
Received: (at 121910-done) by bugs.debian.org; 1 Dec 2001 05:33:52 +0000
>From jgg@debian.org Fri Nov 30 23:33:52 2001
Return-path: <jgg@debian.org>
Received: from ike-ext.ab.videon.ca [206.75.216.35] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16A2me-0001as-00; Fri, 30 Nov 2001 23:33:52 -0600
Received: (qmail 8771 invoked from network); 1 Dec 2001 05:33:51 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.82.81.190]) (envelope-sender <jgg@debian.org>)
          by ike-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <aaron@meow.kitten.net.au>; 1 Dec 2001 05:33:51 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 16A2mZ-000500-00; Fri, 30 Nov 2001 22:33:47 -0700
Date: Fri, 30 Nov 2001 22:33:47 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: Aaron Howell <aaron@meow.kitten.net.au>, 121910-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#121910: apt: does not honor 302 return code from http get
In-Reply-To: <[🔎] E169zlj-0002fn-00@meow.kitten.net.au>
Message-ID: <[🔎] Pine.LNX.3.96.1011130223255.19214B-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 121910-done@bugs.debian.org


On Sat, 1 Dec 2001, Aaron Howell wrote:

> Apt does not follow the returned url when a 302 code is returned.  This
> breaks downloading via http from some mirrors (notably
> ftp.planetmirror.com)  Apt should probably at least try to follow the
> returned link, in case the next hop is the actual deb it was trying to
> get. 

It is deliberate that it does not support redirects, too often they do not
lead to the file it was hoping to get. If a mirror is deliberately
generating redirects it should be fixed, or a correct URI used.

Jason



Reply to: