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

Method cache_60

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

Source from the content-addressed store, hash-verified

71 return [pformat(env).encode("utf8")]
72
73 def cache_60(self, env, start_response):
74 headers = [("Cache-Control", "public, max-age=60")]
75 start_response("200 OK", headers)
76 return [pformat(env).encode("utf8")]
77
78 def no_cache(self, env, start_response):
79 headers = [("Cache-Control", "no-cache")]

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected