Closed GoogleCodeExporter closed 9 years ago
Index: src/osapi/io/osapiCurlProvider.php =================================================================== --- src/osapi/io/osapiCurlProvider.php (revision 88) +++ src/osapi/io/osapiCurlProvider.php (working copy) @@ -44,8 +44,9 @@ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_USERAGENT, $ua); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); - if ($headers && is_array($headers)) { - curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); + if ($headers) { + curl_setopt($ch, CURLOPT_HEADER, true); } $data = @curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
Original issue reported on code.google.com by rovagn...@gmail.com on 18 Mar 2009 at 12:15
rovagn...@gmail.com
Applied in r96
Original comment by api.kurrik%google.com@gtempaccount.com on 25 Mar 2009 at 12:38
api.kurrik%google.com@gtempaccount.com
Original issue reported on code.google.com by
rovagn...@gmail.com
on 18 Mar 2009 at 12:15