Skip to content
Myr

Merge pull request #530 from mattupstate/master

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

Fix documention for `after_this_request`

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 7bc6eea, 1f3e667 · 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