simplepie: enable digest authentication

This commit is contained in:
Andrew Dolgov 2010-12-27 15:42:31 +03:00
parent a5ae391500
commit 86027a078d
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{