From 8609e3cb4894679200c940a30dc8b3688bc34213 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 5 Jun 2024 16:13:02 +0100 Subject: Revert "Don't strip the Via header" As it's changing the response headers, which don't mean anything here. This reverts commit 2b8e87602bb3a43089b2303378c864da6533799d. --- nar-herder/server.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nar-herder/server.scm b/nar-herder/server.scm index 720fcf1..7046784 100644 --- a/nar-herder/server.scm +++ b/nar-herder/server.scm @@ -404,12 +404,7 @@ . ,(string-append "/internal/nar/" compression "/" - (uri-encode filename))) - ,@(let ((via (request-via request))) - (if (null? via) - '() - `((Via - . ,(string-join via ", "))))))) + (uri-encode filename))))) #f))) (let ((cached-narinfo-file (and narinfo ; must be a known hash -- cgit v1.2.3