MCPcopy Create free account
hub / github.com/psf/cachecontrol / no_cache

Method no_cache

tests/conftest.py:78–81  ·  view source on GitHub ↗
(self, env, start_response)

Source from the content-addressed store, hash-verified

76 return [pformat(env).encode("utf8")]
77
78 def no_cache(self, env, start_response):
79 headers = [("Cache-Control", "no-cache")]
80 start_response("200 OK", headers)
81 return [pformat(env).encode("utf8")]
82
83 def permanent_redirect(self, env, start_response):
84 headers = [("Location", "/permalink")]

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected