Skip to content

Commit 83986d1

Browse files
Merge pull request #10 from utopia-php/fix-headers
fix: lowercase headers
2 parents 65095da + 3bb7815 commit 83986d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Client
4444
*/
4545
public function addHeader(string $key, string $value): self
4646
{
47-
$this->headers[$key] = $value;
47+
$this->headers[strtolower($key)] = $value;
4848
return $this;
4949
}
5050

0 commit comments

Comments
 (0)