From 3a8847424c84df370a1b63395bfaa9cb8beb9eb2 Mon Sep 17 00:00:00 2001 From: Bastian Heist Date: Sat, 4 Aug 2018 13:46:52 +0200 Subject: [PATCH] BUGFIX: Fix capitalization of the "Content-Type" HTTP header --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index fccb4de..d9b4e4b 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2881,7 +2881,7 @@ class H5PCore { */ private static function printJson($data, $status_code = NULL) { header('Cache-Control: no-cache'); - header('Content-type: application/json; charset=utf-8'); + header('Content-Type: application/json; charset=utf-8'); print json_encode($data); }