diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-28 23:16:31 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-28 23:17:25 +0200 |
commit | 19d4121763d663ba048d4b0403a9b343d6f74e5d (patch) | |
tree | adf81acb9412c198ed4cf16dee5fdcb02306de91 | |
parent | 3ebf1a5a3b717e99622c3ba6dd10300a3805471b (diff) | |
download | nextcloud-server-19d4121763d663ba048d4b0403a9b343d6f74e5d.tar.gz nextcloud-server-19d4121763d663ba048d4b0403a9b343d6f74e5d.zip |
Change json content-type to correct IANA type
-rw-r--r-- | lib/json.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |