(self, method, status)
| 352 | """Verify HEAD/1xx/204/304 are flagged as bodyless responses.""" |
| 353 | |
| 354 | def _omits(self, method, status): |
| 355 | from gunicorn.asgi.protocol import ASGIProtocol |
| 356 | return ASGIProtocol._response_omits_body(method, status) |
| 357 | |
| 358 | def test_head_omits_body(self): |
| 359 | assert self._omits("HEAD", 200) is True |
no test coverage detected