We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9966f08 + 2e13442 commit d8854b8Copy full SHA for d8854b8
Http/CurlAdapter.php
@@ -46,6 +46,7 @@ public function getByRequestParts(
46
curl_setopt($c, CURLOPT_URL, $formattedUrl);
47
curl_setopt($c, CURLOPT_HEADER, false);
48
curl_setopt($c, CURLOPT_CUSTOMREQUEST, $method);
49
+ curl_setopt($c, CURLOPT_ENCODING, 'gzip, deflate');
50
51
if (!in_array($method, ['GET', 'HEAD'])) {
52
curl_setopt($c, CURLOPT_POSTFIELDS, $json);
0 commit comments