added curl option to specifically support http (originally suggested by @Kyouma54 in PR #251)
bumped version to 2.0.4
This commit is contained in:
@@ -4488,7 +4488,7 @@ class Client
|
||||
{
|
||||
$ch = curl_init();
|
||||
$curl_options = [
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS,
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
||||
CURLOPT_HTTP_VERSION => $this->curl_http_version,
|
||||
CURLOPT_SSL_VERIFYPEER => $this->curl_ssl_verify_peer,
|
||||
CURLOPT_SSL_VERIFYHOST => $this->curl_ssl_verify_host,
|
||||
|
||||
Reference in New Issue
Block a user