From 6a7a116c973586519fca7eed11a4ff50ca6ef6e7 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 8 May 2023 22:30:53 +0100 Subject: Don't specify transfer encoding header in responses As the fibers web server takes care of this. It's currently adding the header twice, so this should be fixed. --- guix-build-coordinator/agent-messaging/http/server.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'guix-build-coordinator/agent-messaging') diff --git a/guix-build-coordinator/agent-messaging/http/server.scm b/guix-build-coordinator/agent-messaging/http/server.scm index 2c744a8..dd54c41 100644 --- a/guix-build-coordinator/agent-messaging/http/server.scm +++ b/guix-build-coordinator/agent-messaging/http/server.scm @@ -637,8 +637,7 @@ port. Also, the port used can be changed by passing the --port option.\n" (list (build-response #:code 200 - #:headers '((content-type . (text/plain)) - (Transfer-Encoding . "chunked"))) + #:headers '((content-type . (text/plain)))) (lambda (response-port) ;; Compute the hash of the file (let* ((reporter (progress-reporter/hash @@ -719,8 +718,7 @@ port. Also, the port used can be changed by passing the --port option.\n" (list (build-response #:code 200 - #:headers '((content-type . (text/plain)) - (Transfer-Encoding . "chunked"))) + #:headers '((content-type . (text/plain)))) (lambda (response-port) ;; Compute the hash of the file (let* ((reporter (progress-reporter/hash -- cgit v1.2.3