MCPcopy
hub / github.com/eudicots/Cactus / post

Method post

cactus/server.py:35–37  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

33
34class ShutdownHandler(tornado.web.RequestHandler):
35 def post(self, *args, **kwargs):
36 ioloop = tornado.ioloop.IOLoop.instance()
37 ioloop.add_callback(lambda x: x.stop(), ioloop)
38
39
40class StaticHandler(tornado.web.StaticFileHandler):

Callers 1

test_serveMethod · 0.80

Calls 1

stopMethod · 0.45

Tested by 1

test_serveMethod · 0.64