Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 14:04:56 +0300
committerMorris Jobke <hey@morrisjobke.de>2014-11-05 16:35:11 +0300
commit6d7a5bf943494cf573d2daad4d2839a8715cd8c9 (patch)
tree710418db992756f3dfe4a49397b0d8c5ccaf1b08 /lib/public
parent8d87a2c4a643dffa42b2a52d0c662992946271ce (diff)
fix typo in content type
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/appframework/http/jsonresponse.php2
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');
}