Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #18 from kbond/patch-1

Adding this options prevents issues when using Github API v3
  • Loading branch information...
commit ac5e15f738dcdd309ee8ddbf374bf5ed3e3b7a86 2 parents f4e5b5a + 5437606
@ornicar authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Github/HttpClient/Curl.php
View
1  lib/Github/HttpClient/Curl.php
@@ -63,6 +63,7 @@ public function doRequest($url, array $parameters = array(), $httpMethod = 'GET'
CURLOPT_USERAGENT => $options['user_agent'],
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_RETURNTRANSFER => true,
+ CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_TIMEOUT => $options['timeout']
);
Please sign in to comment.
Something went wrong with that request. Please try again.