Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aiohttp/web.py: fixing middleware resolution order accross multiple applications #1854

Merged
merged 3 commits into from
May 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Changes

- Do not unquote `+` in match_info values #1816

- Fix sub-application middlewares resolution order #1853


2.0.7 (2017-04-12)
------------------
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

Contributors
------------
A. Jesse Jiryu Davis
Adam Mills
Expand Down Expand Up @@ -42,7 +42,7 @@ Chris AtLee
Chris Laws
Chris Moore
Christopher Schmitt
Contributors
Damien Nadé
Daniel García
Daniel Nelson
Danny Song
Expand Down Expand Up @@ -174,4 +174,4 @@ Yuriy Shatrov
Yury Selivanov
Yusuke Tsutsumi
Марк Коренберг
Семён Марьясин
Семён Марьясин
2 changes: 1 addition & 1 deletion aiohttp/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _handle(self, request):

if resp is None:
handler = match_info.handler
for app in match_info.apps:
for app in match_info.apps[::-1]:
for factory in app._middlewares:
handler = yield from factory(app, handler)

Expand Down