Skip to content

Instantly share code, notes, and snippets.

# -*- coding:utf-8 -*-
from tornado.ioloop import IOLoop
from tornado.web import RequestHandler, Application
class MiddleWare(object):
def process_request(self, handler):
pass
def process_response(self, handler):
pass