From 91a23bfa9c9b3d7dd5f564910ad99be2316c15e0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 5 Nov 2014 12:04:56 +0100 Subject: fix typo in content type --- lib/public/appframework/http/jsonresponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public') 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'); } -- cgit v1.2.3