diff --git a/src/League/OAuth2/Server/Util/Request.php b/src/League/OAuth2/Server/Util/Request.php index 548bf252..b2f5752c 100644 --- a/src/League/OAuth2/Server/Util/Request.php +++ b/src/League/OAuth2/Server/Util/Request.php @@ -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;