From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add Icedtea 3.0.0pre09 Date: Sat, 26 Mar 2016 15:36:35 +0100 Message-ID: <87a8ll1f2k.fsf@gnu.org> References: <877fh04wk0.fsf@elephly.net> <87a8lmsvie.fsf@gnu.org> <87lh551u4w.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajpKT-0007pB-ID for guix-devel@gnu.org; Sat, 26 Mar 2016 10:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajpKQ-0008O1-BO for guix-devel@gnu.org; Sat, 26 Mar 2016 10:36:41 -0400 In-Reply-To: <87lh551u4w.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 26 Mar 2016 10:11:11 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: > Actually, in this case it=E2=80=99s (again) the ETag header. > > ~~~~~~~~~~~~~~~~~~~ > rekado in guix: wget -S --spider http://icedtea.classpath.org/hg/icedtea/= archive/icedtea-3.0.0pre09.tar.gz > > [...] > > --2016-03-26 10:02:08-- http://icedtea.wildebeest.org/hg/icedtea/archive= /icedtea-3.0.0pre09.tar.gz > Resolving icedtea.wildebeest.org (icedtea.wildebeest.org)... 80.127.118.2= 11 > Connecting to icedtea.wildebeest.org (icedtea.wildebeest.org)|80.127.118.= 211|:80... connected. > HTTP request sent, awaiting response...=20 > HTTP/1.1 200 Script output follows > Date: Sat, 26 Mar 2016 09:02:18 GMT > Server: Apache/2.4.10 (Debian) > Content-Disposition: attachment; filename=3Dicedtea-icedtea-3.0.0pre09.= tar.gz > ETag: 1458585778.0 > Keep-Alive: timeout=3D5, max=3D100 > Connection: Keep-Alive > Content-Type: application/x-gzip > Length: unspecified [application/x-gzip] > Remote file exists. > ~~~~~~~~~~~~~~~~~~~ > > Is this something we want the Guile HTTP client to be more tolerant > about? Yes. This is fixed in Guile 2.0, commit c5dac3595f42afbd76ab9110d7473bf4d16b0520. I think we should backport this hack to (guix build download), essentially through: (modules-set! (resolve-module '(web http)) 'parse-entity-tag =E2=80=A6) Thoughts? Ludo=E2=80=99.