aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/agent-messaging
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-05-08 22:30:53 +0100
committerChristopher Baines <mail@cbaines.net>2023-05-08 22:40:01 +0100
commit6a7a116c973586519fca7eed11a4ff50ca6ef6e7 (patch)
treef8c97b907e04fb5a6b195bb25c3619ed39ff9ef0 /guix-build-coordinator/agent-messaging
parentd8e70c6ce819f1ca3c6ebe389e4c241096c386b1 (diff)
downloadbuild-coordinator-6a7a116c973586519fca7eed11a4ff50ca6ef6e7.tar
build-coordinator-6a7a116c973586519fca7eed11a4ff50ca6ef6e7.tar.gz
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.
Diffstat (limited to 'guix-build-coordinator/agent-messaging')
-rw-r--r--guix-build-coordinator/agent-messaging/http/server.scm6
1 files changed, 2 insertions, 4 deletions
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