X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjApi.php;h=6016f99a75c6d76a8aa5a2102729396fad63ef89;hp=bfb97927d1a2aeb97d51573869a4a040308d2646;hb=f9496a89b1cdbb8bed26742f19fc36559e502264;hpb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77 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();