Skip to content

Commit c3e031d

Browse files
committed
1 parent e7f6e62 commit c3e031d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python3/httplib2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ def __init__(self, host, port=None, key_file=None, cert_file=None,
847847
http.client.HTTPSConnection.__init__(
848848
self, host, port=port, key_file=key_file,
849849
cert_file=cert_file, timeout=timeout, context=context,
850-
check_hostname=True)
850+
check_hostname=disable_ssl_certificate_validation ^ True)
851851

852852

853853
SCHEME_TO_CONNECTION = {

0 commit comments

Comments
 (0)