MCPcopy
hub / github.com/django/django / _set_cache

Method _set_cache

tests/cache/tests.py:2351–2352  ·  view source on GitHub ↗
(self, request, msg)

Source from the content-addressed store, hash-verified

2349 cache.clear()
2350
2351 def _set_cache(self, request, msg):
2352 return UpdateCacheMiddleware(lambda req: HttpResponse(msg))(request)
2353
2354 def test_head_caches_correctly(self):
2355 test_content = "test content"

Callers 2

Calls 2

HttpResponseClass · 0.90

Tested by

no test coverage detected