diff --git a/Curl.php b/Curl.php index 699e56c..a1c0079 100644 --- a/Curl.php +++ b/Curl.php @@ -88,7 +88,7 @@ public function __construct(array $options = array(), $followLocationMaxRedirect curl_setopt($this->ch, CURLOPT_PROXYUSERPWD, $options['proxy_user'] . ':' . $options['proxy_password']); } if (isset($options['login'])) { - curl_setopt($this->ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); + curl_setopt($this->ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($this->ch, CURLOPT_USERPWD, $options['login'].':'.$options['password']); } if (isset($options['local_cert'])) {