summaryrefslogtreecommitdiff
path: root/src/server/FastCGIUtils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/FastCGIUtils.hs')
-rw-r--r--src/server/FastCGIUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/FastCGIUtils.hs b/src/server/FastCGIUtils.hs
index 0bae305c5..f9e575df7 100644
--- a/src/server/FastCGIUtils.hs
+++ b/src/server/FastCGIUtils.hs
@@ -165,7 +165,7 @@ outputJSONP x =
let str = case mc of
Nothing -> encode x
Just c -> c ++ "(" ++ encode x ++ ")"
- setHeader "Content-Type" "text/json; charset=utf-8"
+ setHeader "Content-Type" "text/javascript; charset=utf-8"
outputStrict $ UTF8.encodeString str
outputPNG :: BS.ByteString -> CGI CGIResult