diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-05 00:15:51 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-07 23:47:22 +0100 |
commit | 152b7beeacb72fe96fd5d3c0fd8b321e247c2c6c (patch) | |
tree | 0533c1fb24a8c72206ea27f873b8cebb73abd468 /doc | |
parent | 06e3a5181efa0ea83bb6608d3cbfba5caa56d7e9 (diff) | |
download | guix-152b7beeacb72fe96fd5d3c0fd8b321e247c2c6c.tar.gz |
publish: Use 'x-raw-file' internal response header.
This adjusts the workaround for <http://bugs.gnu.org/21093> so that it's not limited to a single content-type. * guix/scripts/publish.scm (render-nar/cached): Add the 'x-raw-file' header on the response. (render-content-addressed-file): Likewise. (with-content-length): Remove the 'x-raw-file' header. (http-write): Instead of dispatching on 'application/octet-stream', check whether 'x-raw-file' is set to determine whether to spawn a thread.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions