From 89c9f76c2a6b2b78fb1ea0dbef8df98220144ea1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 30 Dec 2021 16:21:01 +0530 Subject: kolam: Set content-type of response to application/graphql+json. * kolam/http.scm (graphql-handler): Set content-type of response to application/graphql+json. --- kolam/http.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kolam/http.scm b/kolam/http.scm index b4d4beb..2098ef1 100644 --- a/kolam/http.scm +++ b/kolam/http.scm @@ -55,7 +55,7 @@ response and a response body. This function is suitable for use with run-server from guile's (web server)." (let ((evaluator (graphql-evaluator schema))) (lambda (request body) - (values '((content-type application-json)) + (values '((content-type application/graphql+json)) (scm->json-string (match (graphql-string->scm (assoc-ref (graphql-request-alist request body) -- cgit v1.2.3