diff options
author | Christopher Baines <mail@cbaines.net> | 2023-05-08 22:30:53 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-05-08 22:40:01 +0100 |
commit | 6a7a116c973586519fca7eed11a4ff50ca6ef6e7 (patch) | |
tree | f8c97b907e04fb5a6b195bb25c3619ed39ff9ef0 /guix-build-coordinator/agent-messaging | |
parent | d8e70c6ce819f1ca3c6ebe389e4c241096c386b1 (diff) | |
download | build-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.scm | 6 |
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 |