We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47c4e4a + 2275a3c commit 636ecf2Copy full SHA for 636ecf2
lib/CurlResponse.php
@@ -27,7 +27,8 @@ private function parse($response)
27
foreach (\explode("\r\n", $headers) as $header) {
28
$pair = \explode(': ', $header, 2);
29
if (isset($pair[1])) {
30
- $this->headers[$pair[0]] = $pair[1];
+ $headerKey = strtolower($pair[0]);
31
+ $this->headers[$headerKey] = $pair[1];
32
}
33
34
} else {
0 commit comments