Skip to content

Commit

Permalink
Merge pull request #2040 from nowackipawel/patch-64
Browse files Browse the repository at this point in the history
Update CURLRequest.php
  • Loading branch information
lonnieezell authored Jun 20, 2019
2 parents 624db39 + 7e42a92 commit b096102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/CURLRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ protected function applyMethod(string $method, array $curl_options): array
// See http://tools.ietf.org/html/rfc7230#section-3.3.2
if (is_null($this->getHeader('content-length')))
{
$this->setHeader('Content-Length', 0);
$this->setHeader('Content-Length', '0');
}
}
else if ($method === 'HEAD')
Expand Down

0 comments on commit b096102

Please sign in to comment.