From 7fbd96667df44f5afe30c8c48edc82a649b3c16b Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 7 Jul 2020 07:23:03 +0300 Subject: [PATCH] Fixed missing content type --- src/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Request.php b/src/Request.php index f9a54235..0b66afa2 100755 --- a/src/Request.php +++ b/src/Request.php @@ -324,7 +324,7 @@ public function getSize(): int protected function generateInput(): array { if (null === $this->payload) { - $contentType = $this->getHeader('Content-Type'); + $contentType = $this->getHeader('content-type'); // Get content-type without the charset $length = \strpos($contentType, ';');