From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: Add Icedtea 3.0.0pre09 Date: Sat, 26 Mar 2016 10:11:11 +0100 Message-ID: <87lh551u4w.fsf@elephly.net> References: <877fh04wk0.fsf@elephly.net> <87a8lmsvie.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajkFg-0006V6-99 for guix-devel@gnu.org; Sat, 26 Mar 2016 05:11:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajkFf-00068I-33 for guix-devel@gnu.org; Sat, 26 Mar 2016 05:11:24 -0400 In-reply-to: <87a8lmsvie.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ludovic Courtès writes: >> On IRC there was the idea to provide “url-fetch/wget” which would be >> less strict compared to the default Guile HTTP client. > > We could do that, but I would prefer fixing and/or monkey-patching the > date header check in Guile. > > In this case, if the problem is date header validation, it seems that we > could monkey-patch the ‘parse-rfc-822-date’ procedure of (web http) to > do the right thing. Actually, in this case it’s (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.211 Connecting to icedtea.wildebeest.org (icedtea.wildebeest.org)|80.127.118.211|:80... connected. HTTP request sent, awaiting response... 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=icedtea-icedtea-3.0.0pre09.tar.gz ETag: 1458585778.0 Keep-Alive: timeout=5, max=100 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? ~~ Ricardo