cakephp/cakephp — pull request #647 by tlatsas (2012-05-11 11:33:57+00:00)
Title: If value is array retrieve and use the associated response status message

Variable $value may be an array. This removes annoying "Array to string conversion" notices like this:

```
Notice (8): Array to string conversion [CORE/Cake/Network/CakeResponse.php, line 461]

$this->_setContentType();
foreach ($this->_headers as $header => $value) {
$this->_sendHeader($header, $value);

$name	=	'HTTP/1.1 200'
$value	=	array(
(int) 200 => 'OK'
)
```