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

Function vary_header_set

tests/test_basic.py:544–548  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542
543 @app.route("/vary-header-set")
544 def vary_header_set():
545 response = flask.Response()
546 response.vary.update(("Accept-Encoding", "Accept-Language"))
547 flask.session["test"] = "test"
548 return response
549
550 @app.route("/no-vary-header")
551 def no_vary_header():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected