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

Method conditional_get

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

Source from the content-addressed store, hash-verified

59 return [pformat(env).encode("utf8")]
60
61 def conditional_get(self, env, start_response):
62 return start_response("304 Not Modified", [])
63
64 def etag(self, env, start_response):
65 headers = [("Etag", self.etag_string)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected