summary refs log tree commit diff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-01-09 22:38:47 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-09 23:39:02 +0100
commit297e04d66010ada31a40f40143d81bf6b62affcc (patch)
tree1562b66bf7063915a9bd6fb6a24779f34e830448 /gnu/tests
parentb0de7fdba678c1b0ec27b9c8e37c81fb5d49a124 (diff)
downloadguix-297e04d66010ada31a40f40143d81bf6b62affcc.tar.gz
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/tests')
0 files changed, 0 insertions, 0 deletions