mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #17107: Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.
Initial patch by Daniel Black.
This commit is contained in:
parent
ca4220be1f
commit
da23259f99
6 changed files with 36 additions and 30 deletions
|
@ -1637,7 +1637,7 @@ else:
|
|||
|
||||
def test_socketserver(self):
|
||||
"""Using a SocketServer to create and manage SSL connections."""
|
||||
server = make_https_server(self, CERTFILE)
|
||||
server = make_https_server(self, certfile=CERTFILE)
|
||||
# try to connect
|
||||
if support.verbose:
|
||||
sys.stdout.write('\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue