diff options
Diffstat (limited to 'python2')
| -rw-r--r-- | python2/httplib2/__init__.py | 2 | ||||
| -rwxr-xr-x | python2/httplib2test.py | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py index 7dfd38c..ab42577 100644 --- a/python2/httplib2/__init__.py +++ b/python2/httplib2/__init__.py @@ -22,7 +22,7 @@ __contributors__ = ["Thomas Broyer (t.broyer@ltgt.net)", "Sam Ruby", "Louis Nyffenegger"] __license__ = "MIT" -__version__ = "0.7.2" +__version__ = "0.7.3" import re import sys diff --git a/python2/httplib2test.py b/python2/httplib2test.py index 6e28e5a..b2cbb02 100755 --- a/python2/httplib2test.py +++ b/python2/httplib2test.py @@ -497,14 +497,16 @@ class HttpTest(unittest.TestCase): self.fail('cert with *.*.appspot.com should not raise an exception.') def testSslHostnameValidation(self): - if sys.version_info >= (2, 6): + pass + # No longer a valid test. + #if sys.version_info >= (2, 6): # The SSL server at google.com:443 returns a certificate for # 'www.google.com', which results in a host name mismatch. # Note that this test only works because the ssl module and httplib2 # do not support SNI; for requests specifying a server name of # 'google.com' via SNI, a matching cert would be returned. - self.assertRaises(httplib2.CertificateHostnameMismatch, - self.http.request, "https://google.com/", "GET") + # self.assertRaises(httplib2.CertificateHostnameMismatch, + # self.http.request, "https://google.com/", "GET") def testSslCertValidationWithoutSslModuleFails(self): if sys.version_info < (2, 6): |
