Format: text/x-python
⬇ Download File (187 B)
   1  import ssl
   2  
   3  import certifi
   4  
   5  
   6  def default_ssl_context() -> ssl.SSLContext:
   7      context = ssl.create_default_context()
   8      context.load_verify_locations(certifi.where())
   9      return context
  10