diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-09-19 11:49:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-09-19 12:19:15 +0200 |
commit | 3ce1b9021a1244063bf800e9d68763f12234edd5 (patch) | |
tree | 72275a651f8aaeac508c405a5287177f8d14f23f /gnu/system.scm | |
parent | 82781d871f8753737448c562b3906b2a7f89581c (diff) | |
download | patches-3ce1b9021a1244063bf800e9d68763f12234edd5.tar patches-3ce1b9021a1244063bf800e9d68763f12234edd5.tar.gz |
http-client: 'http-client/cached' uses 'If-Modified-Since'.
* guix/http-client.scm (http-fetch/cached)[update-cache]: Add
'cache-port' parameter. Check its mtime and compute 'if-modified-since'
header accordingly. Guard 'http-get-error?' and honor 304.
Adjust callers of 'update-cache'.
* guix/gnu-maintenance.scm (ftp.gnu.org-files): Set #:ttl to 15m.
Diffstat (limited to 'gnu/system.scm')
0 files changed, 0 insertions, 0 deletions