issue 6769
fix a mistake in instantiatiating the HTTPSConnection class.
This commit is contained in:
parent
1a46267bd2
commit
68b0731b94
|
@ -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]
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue