Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ foo
Function
foo
tests/test_basic.py:737–739 ·
view source on GitHub ↗
(response)
Source
from the content-addressed store, hash-verified
735
def
index():
736
@flask.after_this_request
737
def
foo(response):
738
response.headers[
"X-Foo"
] =
"a header"
739
return
response
740
741
return
"Test"
742
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected