simplepie: enable digest authentication

master
Andrew Dolgov 14 years ago
parent a5ae391500
commit 86027a078d

@ -7690,6 +7690,10 @@ class SimplePie_File
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
}
/* Enable Digest authentication and SSL -fox */
curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
$this->headers = curl_exec($fp);
if (curl_errno($fp) === 23 || curl_errno($fp) === 61)
{

Loading…
Cancel
Save