Skip to content

Commit

Permalink
Converted Headers to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Feb 7, 2024
1 parent 2c9c666 commit 33a1d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/Browser/Context/BrowserContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ private function getHeaderValue($responseHeaders, $header): string
if ($this->getSession()->getDriver() instanceof ChromeDriver) {
return $responseHeaders[$header];
}
var_dump($responseHeaders);

return $responseHeaders[$header][0];
return $responseHeaders[strtolower($header)][0];
}
}

0 comments on commit 33a1d99

Please sign in to comment.