BUGFIX: Fix capitalization of the "Content-Type" HTTP header

pull/53/head
Bastian Heist 2018-08-04 13:46:52 +02:00
parent 6d50bae108
commit 3a8847424c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}