(self, match)
| 1307 | |
| 1308 | @test_utils.Router.define('/encoding/(gzip|deflate)$') |
| 1309 | def encoding(self, match): |
| 1310 | mode = match.group(1) |
| 1311 | |
| 1312 | resp = self._start_response(200) |
| 1313 | resp.add_compression_filter(mode) |
| 1314 | resp.add_chunking_filter(100) |
| 1315 | self._response(resp, headers={'Content-encoding': mode}, chunked=True) |
| 1316 | |
| 1317 | @test_utils.Router.define('/chunked$') |
| 1318 | def chunked(self, match): |
nothing calls this directly
no test coverage detected