Fixes #108, fixes #114 - ucfirst headers

This commit is contained in:
Alex Bilbie 2013-12-05 20:57:22 +00:00
parent 8fe3ed7eb5
commit dba976d6ac

View File

@ -119,7 +119,7 @@ class Request implements RequestInterface
{
$normalized = array();
foreach ($headers as $key => $value) {
$normalized[$this->normalizeKey($key)] = $value;
$normalized[ucfirst($this->normalizeKey($key))] = $value;
}
return $normalized;