From 19d4121763d663ba048d4b0403a9b343d6f74e5d Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 28 Sep 2011 23:16:31 +0200 Subject: [PATCH] Change json content-type to correct IANA type --- lib/json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/json.php b/lib/json.php index 5ebd6c6b759..6ab0404c081 100644 --- a/lib/json.php +++ b/lib/json.php @@ -11,7 +11,7 @@ class OC_JSON{ /** * set Content-Type header to jsonrequest */ - public static function setContentTypeHeader($type='application/jsonrequest'){ + public static function setContentTypeHeader($type='application/json'){ if (!self::$send_content_type_header){ // We send json data header( 'Content-Type: '.$type ); -- 2.39.5