(transport)
| 94 | |
| 95 | |
| 96 | def test_add_header_with_spaces(transport): |
| 97 | msg = protocol.Response(transport, 200) |
| 98 | assert [] == list(msg.headers) |
| 99 | |
| 100 | msg.add_header('content-type', ' plain/html ') |
| 101 | assert [('CONTENT-TYPE', 'plain/html')] == list(msg.headers.items()) |
| 102 | |
| 103 | |
| 104 | def test_add_header_non_ascii(transport): |
nothing calls this directly
no test coverage detected