diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 12:04:56 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-05 12:04:56 +0100 |
commit | 91a23bfa9c9b3d7dd5f564910ad99be2316c15e0 (patch) | |
tree | 874597f69ef7e512ec017e4fb371722077a7e03f /lib/public/appframework/http | |
parent | c8f55e7f87505d0f27df0d2115697d8456c455a1 (diff) | |
download | nextcloud-server-91a23bfa9c9b3d7dd5f564910ad99be2316c15e0.tar.gz nextcloud-server-91a23bfa9c9b3d7dd5f564910ad99be2316c15e0.zip |
fix typo in content type
Diffstat (limited to 'lib/public/appframework/http')
-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'); } |