(self, env, start_response)
| 53 | self.etag_string = f'"ETAG-{self.etag_count}"' |
| 54 | |
| 55 | def update_etag(self, env, start_response): |
| 56 | self.update_etag_string() |
| 57 | headers = [("Cache-Control", "max-age=5000"), ("Content-Type", "text/plain")] |
| 58 | start_response("200 OK", headers) |
| 59 | return [pformat(env).encode("utf8")] |
| 60 | |
| 61 | def conditional_get(self, env, start_response): |
| 62 | return start_response("304 Not Modified", []) |
nothing calls this directly
no test coverage detected