(self)
| 257 | self.assertEqual(res.status, HTTPStatus.HTTP_VERSION_NOT_SUPPORTED) |
| 258 | |
| 259 | def test_send_blank(self): |
| 260 | self.con._http_vsn_str = '' |
| 261 | self.con.putrequest('', '') |
| 262 | self.con.endheaders() |
| 263 | res = self.con.getresponse() |
| 264 | self.assertEqual(res.status, HTTPStatus.BAD_REQUEST) |
| 265 | |
| 266 | def test_header_close(self): |
| 267 | self.con.putrequest('GET', '/') |
nothing calls this directly
no test coverage detected