mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
issue 6769
fix a mistake in instantiatiating the HTTPSConnection class.
This commit is contained in:
parent
1a46267bd2
commit
68b0731b94
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue