(self, *args, **kwargs)
| 33 | |
| 34 | class 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 | |
| 40 | class StaticHandler(tornado.web.StaticFileHandler): |