Skip to content

Commit

Permalink
Fix bug with numeric header
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Feb 13, 2021
1 parent ab5e4cf commit 2044805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ private static function getCurrentRequestHeaders() : array

if ($requestHeaders) {
foreach ($requestHeaders as $key => $value) {
$key = strtolower($key);
$key = strtolower((string) $key);
$headers[$key] = [$value];
}

Expand Down

0 comments on commit 2044805

Please sign in to comment.