Add hostname_checks_common_name attribute to SSLContext (#4160)

This commit is contained in:
Sam Bull
2020-06-03 10:19:02 +01:00
committed by GitHub
parent a913af9523
commit dd5ef5ed1e

View File

@@ -323,6 +323,7 @@ class SSLContext:
server_hostname: Optional[str] = ...) -> SSLObject: ...
def session_stats(self) -> Dict[str, int]: ...
if sys.version_info >= (3, 7):
hostname_checks_common_name: bool
maximum_version: TLSVersion
minimum_version: TLSVersion