GNU bug report logs -
#20962
HTTP client is too strict with date headers
Previous Next
Reported by: m8r-y0v7u9 <at> mailinator.com
Date: Thu, 2 Jul 2015 15:30:06 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
guix download doesn't seem to like date headers that don't use GMT / UTC. #guix irc logs from 2013-10-16 mention something similar. Any suggestions or work-arounds?
Below is some relevant output -- first with guix download, then with wget -S (note the Expires header):
$ guix download \
https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
starting download of `/tmp/guix-file.o8FJB9' from `https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip'...
ERROR: Bad Date header: Fri, 03 Jul 2015 01:39:41 PDT
failed to download "/tmp/guix-file.o8FJB9" from "https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip"
guix download: error: https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip: download failed
$ wget -S https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
--2015-07-02 16:49:11-- https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
Resolving dl-ssl.google.com (dl-ssl.google.com)... 173.194.72.91, 173.194.72.136, 173.194.72.190, ...
Connecting to dl-ssl.google.com (dl-ssl.google.com)|173.194.72.91|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 1751911
Content-Type: application/zip
Etag: "50c5a"
Expires: Fri, 03 Jul 2015 00:49:11 PDT
Last-Modified: Tue, 10 Mar 2015 17:00:00 GMT
Server: downloads
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Date: Thu, 02 Jul 2015 07:49:11 GMT
Alternate-Protocol: 443:quic,p=1
Length: 1751911 (1.7M) [application/zip]
Saving to: ‘platform-tools_r22-linux.zip’
platform-tools_r22- 100%[=====================>] 1.67M 2.35MB/s in 0.7s
2015-07-02 16:49:12 (2.35 MB/s) - ‘platform-tools_r22-linux.zip’ saved [1751911/1751911]
This bug report was last modified 5 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.