(transport)
| 86 | |
| 87 | |
| 88 | def test_add_header(transport): |
| 89 | msg = protocol.Response(transport, 200) |
| 90 | assert [] == list(msg.headers) |
| 91 | |
| 92 | msg.add_header('content-type', 'plain/html') |
| 93 | assert [('CONTENT-TYPE', 'plain/html')] == list(msg.headers.items()) |
| 94 | |
| 95 | |
| 96 | def test_add_header_with_spaces(transport): |
nothing calls this directly
no test coverage detected