Skip to content

Commit

Permalink
Merge pull request #3 from gitbugr/2022/fix/header_case_sensitivity
Browse files Browse the repository at this point in the history
 ~ fix headers case sensitivity
  • Loading branch information
hossein-zare authored Nov 9, 2022
2 parents d9f929d + ec1867f commit 774e1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(array $keys = null)
*/
protected function setHeaders()
{
$this->headers = getallheaders();
$this->headers = array_change_key_case(getallheaders(), CASE_LOWER);
}

/**
Expand Down

0 comments on commit 774e1e9

Please sign in to comment.