Skip to content

Commit

Permalink
~ fix headers case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbugr committed Nov 9, 2022
1 parent d9f929d commit ec1867f
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 ec1867f

Please sign in to comment.