issue 6769

fix a mistake in instantiatiating the HTTPSConnection class.
This commit is contained in:
Kristján Valur Jónsson 2009-08-24 11:39:31 +00:00
parent 1a46267bd2
commit 68b0731b94
1 changed files with 1 additions and 1 deletions

View File

@ -1488,7 +1488,7 @@ class SafeTransport(Transport):
)
else:
chost, self._extra_headers, x509 = self.get_host_info(host)
self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))
self._connection = host, HTTPS(chost, None, **(x509 or {}))
return self._connection[1]
##