Server can remove Server header with server_header.
(self)
| 231 | self.assertEval(client, "ws.response.headers['Server']", "Neo") |
| 232 | |
| 233 | def test_remove_server(self): |
| 234 | """Server can remove Server header with server_header.""" |
| 235 | with run_server(server_header=None) as server: |
| 236 | with connect(get_uri(server)) as client: |
| 237 | self.assertEval(client, "'Server' in ws.response.headers", "False") |
| 238 | |
| 239 | def test_keepalive_is_enabled(self): |
| 240 | """Server enables keepalive and measures latency.""" |
nothing calls this directly
no test coverage detected