diff options
| author | Joe Gregorio <jcgregorio@google.com> | 2011-06-08 11:29:52 -0400 |
|---|---|---|
| committer | Joe Gregorio <jcgregorio@google.com> | 2011-06-08 11:29:52 -0400 |
| commit | 22f8aad8b672d3e18e63d5df0b48cd128d8ace5a (patch) | |
| tree | f974f94ff8e19f104cfd3c03c73d736f4476cb89 /python2 | |
| parent | b53de9b961c5e28d4976a0ae2793846a267bc3c0 (diff) | |
| download | httplib2-22f8aad8b672d3e18e63d5df0b48cd128d8ace5a.tar.gz | |
Fixed app engine SLLCertificateError catching
Diffstat (limited to 'python2')
| -rw-r--r-- | python2/httplib2/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py index 1c27e00..fb090a9 100644 --- a/python2/httplib2/__init__.py +++ b/python2/httplib2/__init__.py @@ -933,6 +933,7 @@ try: from google.appengine.api.urlfetch import InvalidURLError from google.appengine.api.urlfetch import DownloadError from google.appengine.api.urlfetch import ResponseTooLargeError + from google.appengine.api.urlfetch import SSLCertificateError class ResponseDict(dict): @@ -959,6 +960,7 @@ try: self.response = None self.scheme = 'http' self.validate_certificate = not disable_certificate_validation + self.sock = True def request(self, method, url, body, headers): # Calculate the absolute URI, which fetch requires |
