From 11ccb5f9dc912cefcc805748ec4a3bc971a54973 Mon Sep 17 00:00:00 2001 From: gcd0318 Date: Thu, 22 May 2014 23:10:21 +0800 Subject: [PATCH] fix SSL problem --- python3/httplib2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 python3/httplib2/__init__.py 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 = {