ealogar/falcon — pull request #1 by ealogar (2014-10-06 10:04:34+00:00)
Title: feat(API): Add middlewares to falcon API

A list of Middleware classes can be added to falcon WSGI api.add_middlewares([MiddClass1,...])
A middleware will be executed always with every request/response dispatched, no matters routing and errors.
A middleware can define process_request or process_response or both.
Arguments are the same as hooks and error_handlers.