diff --git a/libraries/http_request.inc b/libraries/http_request.inc index 760d9926ec88cee9314149ff2c2c8e6027b20f9b..b4ed90c89476d7fa9d21873750ea00d15c52f811 100644 --- a/libraries/http_request.inc +++ b/libraries/http_request.inc @@ -158,6 +158,7 @@ function http_request_get($url, $username = NULL, $password = NULL, $accept_inva curl_setopt($download, CURLOPT_HTTPHEADER, $headers); curl_setopt($download, CURLOPT_HEADER, TRUE); curl_setopt($download, CURLOPT_RETURNTRANSFER, TRUE); + curl_setopt($download, CURLOPT_ENCODING, ''); if ($accept_invalid_cert) { curl_setopt($download, CURLOPT_SSL_VERIFYPEER, 0); }