(self, env, start_response)
| 102 | yield pformat(i).encode("utf8") |
| 103 | |
| 104 | def fixed_length(self, env, start_response): |
| 105 | body = b"0123456789" |
| 106 | headers = [ |
| 107 | ("Content-Type", "text/plain"), |
| 108 | ("Cache-Control", "max-age=5000"), |
| 109 | ("Content-Length", str(len(body))), |
| 110 | ] |
| 111 | start_response("200 OK", headers) |
| 112 | return [body] |
| 113 | |
| 114 | def __call__(self, env, start_response): |
| 115 | func = self.dispatch(env) |
nothing calls this directly
no outgoing calls
no test coverage detected