mirror of
https://github.com/servo/servo.git
synced 2025-10-04 18:49:23 +01:00
17 lines
324 B
Python
17 lines
324 B
Python
class NoSSLEnvironment(object):
|
|
ssl_enabled = False
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
pass
|
|
|
|
def __enter__(self):
|
|
return self
|
|
|
|
def __exit__(self, *args, **kwargs):
|
|
pass
|
|
|
|
def host_cert_path(self, host):
|
|
return None, None
|
|
|
|
def ca_cert_path(self):
|
|
return None
|