|
|
@@ -411,7 +411,7 @@ class CakeResponse {
|
|
|
}
|
|
|
if (strpos($this->_contentType, 'text/') === 0) {
|
|
|
$this->header('Content-Type', "{$this->_contentType}; charset={$this->_charset}");
|
|
|
- } else if ($this->_contentType === 'application/json') {
|
|
|
+ } elseif ($this->_contentType === 'application/json') {
|
|
|
$this->header('Content-Type', "{$this->_contentType}; charset=UTF-8");
|
|
|
} else {
|
|
|
$this->header('Content-Type', "{$this->_contentType}");
|