Files
Kurt Griffiths 2f6285e42a refactor(hooks): Remove deprecated global hooks feature
Middleware components superseded global hooks in version 0.3 of the
framework. By now, developers should have had enough time to migrate
away from the deprecated feature. If not, they can continue using 0.3
until they are able to migrate.

BREAKING CHANGE: falcon.API no longer accepts `before` and `after`
    kwargs to specify global hooks. Applications should migrate
    any logic contained in global hooks to reside in middleware
    components instead.

    Old:

        def do_something(req, resp, resource, params):
            pass

        app = falcon.API(before=[do_something])

    New:

        class ExampleMiddlewareComponent(object):
            def process_resource(self, req, resp, resource):
                pass

Closes #384
2016-03-09 10:55:02 -06:00
..
2013-05-15 11:11:25 -05:00
2013-05-15 11:11:25 -05:00
2013-05-15 11:11:25 -05:00
2013-05-15 11:11:25 -05:00
2013-05-15 11:11:25 -05:00