unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add Icedtea 3.0.0pre09
Date: Sat, 26 Mar 2016 10:11:11 +0100	[thread overview]
Message-ID: <87lh551u4w.fsf@elephly.net> (raw)
In-Reply-To: <87a8lmsvie.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> 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

  parent reply	other threads:[~2016-03-26  9:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 15:40 [PATCH] gnu: Add Icedtea 3.0.0pre09 Ricardo Wurmus
2016-03-11  9:58 ` Roel Janssen
2016-03-11 13:32   ` Ricardo Wurmus
2016-03-11 15:24     ` Roel Janssen
2016-03-17 21:35 ` Ricardo Wurmus
2016-03-25 10:27   ` Ludovic Courtès
2016-03-25 12:26     ` Ricardo Wurmus
2016-03-25 12:49       ` Ludovic Courtès
2016-04-19 12:48         ` Ricardo Wurmus
2016-04-21 20:39           ` Roel Janssen
2016-03-26  9:11     ` Ricardo Wurmus [this message]
2016-03-26 14:36       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lh551u4w.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).