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

Method handler

src/updateserver/python2/updateserver.py:24–25  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

22class UpdateHttpServer(object):
23 def __init__(self, port, bind, catalog_dir):
24 def handler(*args):
25 UpdateHTTPRequestHandler(catalog_dir, *args)
26 httpd = BaseHTTPServer.HTTPServer((bind, port), handler)
27 sa = httpd.socket.getsockname()
28 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