MCPcopy Index your code
hub / github.com/python/cpython / create_https_server

Function create_https_server

Lib/test/test_httpservers.py:60–71  ·  view source on GitHub ↗
(
    certfile,
    keyfile=None,
    password=None,
    *,
    address=('localhost', 0),
    request_handler=DummyRequestHandler,
)

Source from the content-addressed store, hash-verified

58
59
60def create_https_server(
61 certfile,
62 keyfile=None,
63 password=None,
64 *,
65 address=('localhost', 0),
66 request_handler=DummyRequestHandler,
67):
68 return HTTPSServer(
69 address, request_handler,
70 certfile=certfile, keyfile=keyfile, password=password
71 )
72
73
74class TestSSLDisabled(unittest.TestCase):

Callers 4

runMethod · 0.85
test_valid_certdataMethod · 0.85
test_invalid_certdataMethod · 0.85

Calls 1

HTTPSServerClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…