Skip to content
Myr

Merge pull request #2966 from jangjunha/fix-doc-deferredcallbacks

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

authored by David Lord · committed by GitHub · parents 0038a67, eef6c34 · Browse files · 1 file+1 added−0 removed
This commit

State

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

Trailers

  • Docs: Fix deferredcallbacks.rst

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/patterns/deferredcallbacks.rst+1 added
39 unmodified lines
40 # when the response exists, set a cookie with the language41 @after_this_request42 def remember_language(response):43 response.set_cookie('user_lang', language)44 return response4546 g.language = language