substitute: Honor 'Cache-Control' on 404 responses.
commit5db5dff53d255eb0738de4b44717a4b148fb8294
authorLudovic Courtès <ludo@gnu.org>
Thu, 11 May 2017 08:24:49 +0000 (11 10:24 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 11 May 2017 16:05:42 +0000 (11 18:05 +0200)
treee7eacb25fec4bb8e0def96810010d1010f8b8abc
parent24b21720f7c3a368efc32017c126e107a5d76f52
substitute: Honor 'Cache-Control' on 404 responses.

* guix/scripts/substitute.scm (cached-narinfo): When VALUE is #f, use
the TTL that is read instead of %NARINFO-NEGATIVE-TTL.
(cached-narinfo-expiration-time): Likewise.
guix/scripts/substitute.scm