Bases: httplib.HTTPSConnection
Verify that the certificate matches host.
Verify that the x509 certificate we have received from ‘host’ correctly identifies the server we are connecting to, ie that the certificate’s Common Name or a Subject Alternative Name matches ‘host’.
Set up the OpenSSL context.
Bases: object
An OpenSSL.SSL.Connection delegator.
Supplies an additional ‘makefile’ method which http_client requires and is not present in OpenSSL.SSL.Connection. Note: Since it is not possible to inherit from OpenSSL.SSL.Connection a delegator must be used.
Gets the default CA certificates if found, otherwise None.
Try to find out system path with ca certificates. This path is cached and returned. If no path is found out, None is returned.
Send request over HTTP.
Send XML data over HTTP to the specified url. Return the response in XML. Uses Python’s build-in http_client. x509 may be a dictionary containing the location of the SSL certificate and key files.