Skip to content

Commit 774e1e9

Browse files
authored
Merge pull request #3 from gitbugr/2022/fix/header_case_sensitivity
~ fix headers case sensitivity
2 parents d9f929d + ec1867f commit 774e1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Header.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(array $keys = null)
3333
*/
3434
protected function setHeaders()
3535
{
36-
$this->headers = getallheaders();
36+
$this->headers = array_change_key_case(getallheaders(), CASE_LOWER);
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)