Skip to content

Commit

Permalink
fix(GenDoc) force Transfer-Encoding in cURL
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed Dec 3, 2021
1 parent 8601d23 commit efd9a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vtlib/thirdparty/network/HTTP/Request2/Adapter/Curl.php
Expand Up @@ -392,6 +392,7 @@ protected function createCurlHandle()
$canonicalName = implode('-', array_map('ucfirst', explode('-', $name)));
$headersFmt[] = $canonicalName . ': ' . $value;
}
$headersFmt[] = 'Transfer-Encoding:';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headersFmt);

return $ch;
Expand Down

0 comments on commit efd9a7b

Please sign in to comment.