def _https_verify_certificates(enable=True):
 global _create_default_https_context
 if enable:
  _create_default_https_context = create_default_context
 else:
  _create_default_https_context = _create_unverified_context

def _https_verify_certificates ( enable = True ) : global _create_default_https_context if enable : _create_default_https_context = create_default_context else : _create_default_https_context = _create_unverified_context
verify server https certificates by default? .