simplepie: enable https and digest auth

This commit is contained in:
Andrew Dolgov 2008-01-24 09:09:31 +01:00
parent 6d7d21a035
commit 96841bf3a3

View file

@ -7583,6 +7583,9 @@ class SimplePie_File
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects); curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
} }
curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
$this->headers = curl_exec($fp); $this->headers = curl_exec($fp);
if (curl_errno($fp) == 23 || curl_errno($fp) == 61) if (curl_errno($fp) == 23 || curl_errno($fp) == 61)
{ {