(self)
| 153 | ) |
| 154 | |
| 155 | async def test_header_name(self): |
| 156 | self.stream.feed_data(b"foo bar: baz qux\r\n\r\n") |
| 157 | with self.assertRaises(ValueError): |
| 158 | await read_headers(self.stream) |
| 159 | |
| 160 | async def test_header_value(self): |
| 161 | self.stream.feed_data(b"foo: \x00\x00\x0f\r\n\r\n") |
nothing calls this directly
no test coverage detected