(self)
| 264 | self.assertEqual(res.status, HTTPStatus.BAD_REQUEST) |
| 265 | |
| 266 | def test_header_close(self): |
| 267 | self.con.putrequest('GET', '/') |
| 268 | self.con.putheader('Connection', 'close') |
| 269 | self.con.endheaders() |
| 270 | res = self.con.getresponse() |
| 271 | self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED) |
| 272 | |
| 273 | def test_header_keep_alive(self): |
| 274 | self.con._http_vsn_str = 'HTTP/1.1' |
nothing calls this directly
no test coverage detected