Skip to content

Commit

Permalink
added curl option to specifically support http (originally suggested by
Browse files Browse the repository at this point in the history
@Kyouma54 in PR #251)

bumped version to 2.0.4
  • Loading branch information
malle-pietje committed Jan 2, 2025
1 parent 551c1c3 commit f9ce6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -4488,7 +4488,7 @@ protected function get_curl_handle()
{
$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,
Expand Down

0 comments on commit f9ce6bf

Please sign in to comment.