aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-07-24 08:40:22 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-24 08:41:06 +0100
commitcae04bb5eb4e07205f45e808ac48f1581be02d78 (patch)
tree8d3542347c056de923686907227ec707dd9c0990
parent3ef3131c32b61acd9713592eafa3536308191205 (diff)
downloadbffe-cae04bb5eb4e07205f45e808ac48f1581be02d78.tar
bffe-cae04bb5eb4e07205f45e808ac48f1581be02d78.tar.gz
Pass the accept header when requesting build info
-rw-r--r--bffe/server.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/bffe/server.scm b/bffe/server.scm
index c725d2f..79376d6 100644
--- a/bffe/server.scm
+++ b/bffe/server.scm
@@ -507,9 +507,8 @@
body
(http-get*
(string->uri
- (string-append event-source "/build/" uuid
- ;; ".json"
- )))))
+ (string-append event-source "/build/" uuid))
+ #:headers '((accept . ((application/json)))))))
(case (most-appropriate-mime-type
mime-types
'(application/json text/html))