MCPcopy
hub / github.com/django/django / hello_world_view_patch_vary_headers_asterisk

Function hello_world_view_patch_vary_headers_asterisk

tests/cache/tests.py:2619–2622  ·  view source on GitHub ↗
(request, value)

Source from the content-addressed store, hash-verified

2617
2618
2619def hello_world_view_patch_vary_headers_asterisk(request, value):
2620 response = HttpResponse("Hello World %s" % value)
2621 patch_vary_headers(response, ("*",))
2622 return response
2623
2624
2625def hello_world_view_vary_headers_includes_asterisk(request, value):

Callers

nothing calls this directly

Calls 2

HttpResponseClass · 0.90
patch_vary_headersFunction · 0.90

Tested by

no test coverage detected