X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjApi.php;h=6016f99a75c6d76a8aa5a2102729396fad63ef89;hb=6c1b83c4b957fcb1886535dc8decbcf16bf4a384;hp=bfb97927d1a2aeb97d51573869a4a040308d2646;hpb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77;p=syj.git diff --git a/application/controllers/helpers/SyjApi.php b/application/controllers/helpers/SyjApi.php index bfb9792..6016f99 100644 --- a/application/controllers/helpers/SyjApi.php +++ b/application/controllers/helpers/SyjApi.php @@ -1,5 +1,5 @@ getResponse(); - $response->setHeader('Content-Type', $this->_contentType) - ->setHeader('Content-Length', strlen($this->_body)); + $response->setHeader('Content-Type', $this->_contentType, true) + ->setHeader('Content-Length', strlen($this->_body), true); if ($this->_checkIfNoneMatch) { $request = $this->getRequest();