Revision 0d9bc5d2
b/lib/rapi/client.py | ||
---|---|---|
403 | 403 |
resp = self._http.open(req) |
404 | 404 |
encoded_response_content = resp.read() |
405 | 405 |
except (OpenSSL.SSL.Error, OpenSSL.crypto.Error), err: |
406 |
raise CertificateError("SSL issue: %r" % err)
|
|
406 |
raise CertificateError("SSL issue: %s (%r)" % (err, err))
|
|
407 | 407 |
|
408 | 408 |
if encoded_response_content: |
409 | 409 |
response_content = simplejson.loads(encoded_response_content) |
Also available in: Unified diff