diff --git a/CHANGELOG.md b/CHANGELOG.md index 59f1525..e0f2041 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip ### Added * Added possibility to send current PHPSESSID via API Web Console +* Removed Content-Type from CORS headers ## 1.10.0 - 2016-12-14 diff --git a/src/Presenters/ApiPresenter.php b/src/Presenters/ApiPresenter.php index dac85a7..2b8a59f 100644 --- a/src/Presenters/ApiPresenter.php +++ b/src/Presenters/ApiPresenter.php @@ -191,7 +191,6 @@ private function logRequest(ApiLoggerInterface $logger, $code, $elapsed) protected function sendCorsHeaders() { - $this->getHttpResponse()->addHeader('Access-Control-Allow-Headers', 'Content-Type'); $this->getHttpResponse()->addHeader('Access-Control-Allow-Methods', 'POST, DELETE, PUT, GET, OPTIONS'); if ($this->corsHeader == 'auto') {