sanic/changelogs
Harsha Narayana a6077a1790 GIT-37: fix blueprint middleware application (#1690)
* GIT-37: fix blueprint middleware application

1. If you register a middleware via `@blueprint.middleware` then it will apply only to the routes defined by the blueprint.
2. If you register a middleware via `@blueprint_group.middleware` then it will apply to all blueprint based routes that are part of the group.
3. If you define a middleware via `@app.middleware` then it will be applied on all available routes

Fixes #37

Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>

* GIT-37: add changelog

Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2019-12-20 10:01:04 -06:00
..
.gitignore fix: #1631: add ignore file to ensure empty changelog dir is retained 2019-07-24 05:39:20 +05:30
37.bugfix.rst GIT-37: fix blueprint middleware application (#1690) 2019-12-20 10:01:04 -06:00
1691.doc.rst Doc rework (#1698) 2019-11-14 14:11:38 -06:00
1704.doc.rst fix SERVER_NAME enforcement in url_for and request.args documentation (#1708) 2019-11-01 10:32:49 -07:00
1707.bugfix.rst fix SERVER_NAME enforcement in url_for and request.args documentation (#1708) 2019-11-01 10:32:49 -07:00