From ec1867f7b88d9bd6ac73496ac4eafc4bb7c9a758 Mon Sep 17 00:00:00 2001 From: Kyron Taylor Date: Wed, 9 Nov 2022 13:59:43 +0000 Subject: [PATCH] ~ fix headers case sensitivity --- src/Header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Header.php b/src/Header.php index 4c5fd5b..c026f08 100644 --- a/src/Header.php +++ b/src/Header.php @@ -33,7 +33,7 @@ public function __construct(array $keys = null) */ protected function setHeaders() { - $this->headers = getallheaders(); + $this->headers = array_change_key_case(getallheaders(), CASE_LOWER); } /**