Adding support to cURL http protocol

This commit is contained in:
Kyouma54 2024-11-17 06:58:59 -03:00 committed by GitHub
parent 9726378e3c
commit 0e5a7da09d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4359,7 +4359,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,