Skip to content

Commit

Permalink
Disable SSL cert validation to get around bug in httplib2
Browse files Browse the repository at this point in the history
  • Loading branch information
jarodl committed Dec 12, 2011
1 parent 29a389d commit 7d95d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskext/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def raw_request(self, base_url, resource, params, method, accept='json'):
"""
Makes a raw HTTP request and returns the response and content.
"""
http = Http()
http = Http(disable_ssl_certificate_validation=True)
params.update({'access_token': self.get_access_token()})
headers = {
"Content-type": "application/x-www-form-urlencoded",
Expand Down

0 comments on commit 7d95d1f

Please sign in to comment.