From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: HTTP server invalid date header Date: Mon, 2 May 2016 17:27:19 +0200 Message-ID: References: <877ffgphrb.fsf@gnu.org> <87twikw4s1.fsf@elephly.net> <87twiiapui.fsf@gnu.org> 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]:50228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axFlR-0006HB-GF for guix-devel@gnu.org; Mon, 02 May 2016 11:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axFlF-0007do-Ge for guix-devel@gnu.org; Mon, 02 May 2016 11:27:56 -0400 In-Reply-To: <87twiiapui.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" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: "guix-devel@gnu.org" Ludovic Court=C3=A8s writes: > Ricardo Wurmus skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Ricardo Wurmus skribis: >>> >>>> I tested JUnit previously with the log4j-api package, but I cannot >>>> submit this right now due to a bug(?) in Guile=E2=80=99s HTTP client= , which >>>> makes it impossible for me to download the sources of its dependenci= es, >>>> such as this one: >>>> >>>> http://central.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org= .osgi.core-6.0.0-sources.jar >>>> ERROR: Bad Date header: Wed, 30 Jul 2014 3:47:42 GMT >>> >>> ISTR you were working on a workaround for this issue. What=E2=80=99s= the >>> status? >> >> I got it fixed (after wasting a lot of time wondering why it would not >> work as I had patched the wrong file), but the fix isn=E2=80=99t reall= y pretty. > > [...] > >> From c98ca436bafe8077edaf3125b529ea32fbd48611 Mon Sep 17 00:00:00 2001 >> From: Ricardo Wurmus >> Date: Fri, 29 Apr 2016 22:12:24 +0200 >> Subject: [PATCH] build: Accept dates with space-padded hour field. >> >> * guix/build/download.scm: Replace "parse-rfc-822-date" from the (web >> http) module. > > I don=E2=80=99t think it=E2=80=99s worse than the original. ;-) > > To help maintenance, could you make sure there=E2=80=99s a Guile bug nu= mber for > this one? And then you can submit this change to Guile itself, and > after that backport it to Guix (with a reference to the Guile bug and > commit.) > > Would that work for you? Sure, no problem. The bug I submitted to bug-guile received number 23421. I already submitted my patch to guile-devel, but it seems to be stuck in the queue for now. Once it has been committed I=E2=80=99ll back= port the change to Guix. ~~ Ricardo