Skip to content

Commit e89d812

Browse files
committed
Merge pull request #70 from marvinschroeder/patch-1
Added encoding because of encoded response when using POST
2 parents db814f0 + 0a9e839 commit e89d812

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MailChimp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private function makeRequest($http_verb, $method, $args=array(), $timeout=10)
7777
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
7878
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verify_ssl);
7979
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
80-
80+
curl_setopt($ch, CURLOPT_ENCODING, '');
8181

8282
switch($http_verb) {
8383
case 'post':

0 commit comments

Comments
 (0)