Message387400
dans cette version pour securité maximale
SSLContext.wrap_socket()
import socket
import ssl
hostname = 'www.python.org'
context = ssl.create_default_context()
with socket.create_connection((hostname, 443)) as sock:
with context.wrap_socket(sock, server_hostname=hostname) as ssock:
print(ssock.version())
https://backlinkstrong.com/ |
|
Date |
User |
Action |
Args |
2021-02-20 09:54:30 | webstarnantes | set | recipients:
+ webstarnantes, gvanrossum, vstinner, christian.heimes, methane, yselivanov, pablogsal |
2021-02-20 09:54:30 | webstarnantes | set | messageid: <1613814870.65.0.111369094309.issue37146@roundup.psfhosted.org> |
2021-02-20 09:54:30 | webstarnantes | link | issue37146 messages |
2021-02-20 09:54:30 | webstarnantes | create | |
|