diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py old mode 100644 new mode 100755 index e01ddd7..8a37722 --- a/python3/httplib2/__init__.py +++ b/python3/httplib2/__init__.py @@ -826,7 +826,7 @@ def __init__(self, host, port=None, key_file=None, cert_file=None, http.client.HTTPSConnection.__init__( self, host, port=port, key_file=key_file, cert_file=cert_file, timeout=timeout, context=context, - check_hostname=True) + check_hostname=disable_ssl_certificate_validation ^ True) SCHEME_TO_CONNECTION = {