Skip to content
Myr

Fix documention for `after_this_request`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matt Wright · committed by Matt Wright · parent 9be47f5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/ctx.py+1 added-1 removed
39 unmodified lines
4041 @app.route('/')42 def index():43 @after_this_request44 def add_header():44 def add_header(response):45 response.headers['X-Foo'] = 'Parachute'46 return response47 return 'Hello World!'48
235 unmodified lines