1 2 3 4 5 6 7 8 9 10
from tornado import web class HealthHandler(web.RequestHandler): def get(self): self.write("ok") self.set_header("Content-Type", "text/plain") routes = [("/health", HealthHandler, {})]
Generated by nedoc v0.9 at 2020-12-29 14:05