Skip to content

Commit da9cc98

Browse files
committed
Fix bug introduced by #143 by lowercasing key in getHeader
1 parent a233b8d commit da9cc98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/CurlResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function getHeaders()
5353
*/
5454
public function getHeader($key)
5555
{
56+
$key = strtolower($key);
5657
return isset($this->headers[$key]) ? $this->headers[$key] : null;
5758
}
5859

0 commit comments

Comments
 (0)