MCPcopy Create free account
hub / github.com/pallets/flask / from_response_headers

Function from_response_headers

tests/test_basic.py:1141–1147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1139
1140 @app.route("/response_headers")
1141 def from_response_headers():
1142 return (
1143 flask.Response(
1144 "Hello world", 404, {"Content-Type": "text/html", "X-Foo": "Baz"}
1145 ),
1146 {"Content-Type": "text/plain", "X-Foo": "Bar", "X-Bar": "Foo"},
1147 )
1148
1149 @app.route("/response_status")
1150 def from_response_status():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected