Merge "Create a wsgi factory method for Debug filter."

This commit is contained in:
Jenkins 2013-03-18 02:40:36 +00:00 committed by Gerrit Code Review
commit 4efb51ccf1
1 changed files with 4 additions and 0 deletions

View File

@ -343,6 +343,10 @@ class Debug(Middleware):
print
def debug_filter(app, conf, **local_conf):
return Debug(app)
class Router(object):
"""
WSGI middleware that maps incoming requests to WSGI apps.