(self)
| 249 | self.assertEqual(res.status, HTTPStatus.BAD_REQUEST) |
| 250 | |
| 251 | def test_version_invalid(self): |
| 252 | self.con._http_vsn = 99 |
| 253 | self.con._http_vsn_str = 'HTTP/9.9' |
| 254 | self.con.putrequest('GET', '/') |
| 255 | self.con.endheaders() |
| 256 | res = self.con.getresponse() |
| 257 | self.assertEqual(res.status, HTTPStatus.HTTP_VERSION_NOT_SUPPORTED) |
| 258 | |
| 259 | def test_send_blank(self): |
| 260 | self.con._http_vsn_str = '' |
nothing calls this directly
no test coverage detected