Skip to content

Commit

Permalink
Adding this options prevents issues when using Github API v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Sep 28, 2011
1 parent f4e5b5a commit 5437606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Github/HttpClient/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']
);

Expand Down

0 comments on commit 5437606

Please sign in to comment.