diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-09 22:38:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-09 23:39:02 +0100 |
commit | 297e04d66010ada31a40f40143d81bf6b62affcc (patch) | |
tree | 1562b66bf7063915a9bd6fb6a24779f34e830448 /gnu | |
parent | b0de7fdba678c1b0ec27b9c8e37c81fb5d49a124 (diff) |
publish: Remove "Guix-Nar-Compression" header from responses.
This was harmless but non-compliant and unnecessary.
* guix/scripts/publish.scm <top level>: Rename "Guix-Nar-Compression" to
"X-Nar-Compression" as should have always been.
(render-nar, nar-response-port): Adjust accordingly.
(strip-headers): New procedure.
(sans-content-length, with-content-length): Use it.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions