MCPcopy Create free account
hub / github.com/Hieromon/AutoConnect / handler

Method handler

src/updateserver/python3/updateserver.py:20–21  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

18class UpdateHttpServer:
19 def __init__(self, port, bind, catalog_dir):
20 def handler(*args):
21 UpdateHTTPRequestHandler(catalog_dir, *args)
22 httpd = http.server.HTTPServer((bind, port), handler)
23 sa = httpd.socket.getsockname()
24 logger.info('http server starting {0}:{1} {2}'.format(sa[0], sa[1], catalog_dir))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected