Commit d127f3bc authored by Denis Bilenko's avatar Denis Bilenko

oops, make test__socket_ssl.py create HTTPS connection, not HTTP

parent 590b12d7
...@@ -8,7 +8,7 @@ import socket ...@@ -8,7 +8,7 @@ import socket
class AmazonHTTPSTests(unittest.TestCase): class AmazonHTTPSTests(unittest.TestCase):
def test_amazon_response(self): def test_amazon_response(self):
conn = httplib.HTTPConnection('sdb.amazonaws.com') conn = httplib.HTTPSConnection('sdb.amazonaws.com')
conn.debuglevel = 1 conn.debuglevel = 1
conn.request('GET', '/') conn.request('GET', '/')
resp = conn.getresponse() resp = conn.getresponse()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment