Skip to content

Commit

Permalink
Fixed missing content type
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Jul 7, 2020
1 parent 79c4193 commit 7fbd966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, ';');
Expand Down

0 comments on commit 7fbd966

Please sign in to comment.