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
1 changed files with 4 additions and 1 deletions

View File

@ -7582,6 +7582,9 @@ class SimplePie_File
curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
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);
if (curl_errno($fp) == 23 || curl_errno($fp) == 61)
@ -13266,4 +13269,4 @@ class SimplePie_Sanitize
}
}
?>
?>