diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-05 14:03:12 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-05 14:03:12 +0100 |
commit | e624e9064c25c76bf6dbb479db5811a238c1f340 (patch) | |
tree | 5a591c1dd3bf6cdebfeade18d5c7a4c804a0b737 /lib/public | |
parent | 06267fec8fb57ba6921d4c704cb2c05eb1d4c36e (diff) | |
parent | 91a23bfa9c9b3d7dd5f564910ad99be2316c15e0 (diff) | |
download | nextcloud-server-e624e9064c25c76bf6dbb479db5811a238c1f340.tar.gz nextcloud-server-e624e9064c25c76bf6dbb479db5811a238c1f340.zip |
Merge pull request #11965 from owncloud/fix-jsonresponse
fix typo in content type for JSONResponse
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/appframework/http/jsonresponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/appframework/http/jsonresponse.php b/lib/public/appframework/http/jsonresponse.php index c6360e0a0f5..c9c8696323d 100644 --- a/lib/public/appframework/http/jsonresponse.php +++ b/lib/public/appframework/http/jsonresponse.php @@ -49,7 +49,7 @@ class JSONResponse extends Response { public function __construct($data=array(), $statusCode=Http::STATUS_OK) { $this->data = $data; $this->setStatus($statusCode); - $this->addHeader('Content-type', 'application/json; charset=utf-8'); + $this->addHeader('Content-Type', 'application/json; charset=utf-8'); } |