Skip to content
Browse files

Disable SSL cert validation to get around bug in httplib2

  • Loading branch information...
1 parent 29a389d commit 7d95d1f7006c8308326512e76ffaf57ba2b81ff8 @jarodl committed Dec 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 flaskext/github.py
View
2 flaskext/github.py
@@ -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",

0 comments on commit 7d95d1f

Please sign in to comment.
Something went wrong with that request. Please try again.