(self)
| 434 | self.checkFW("xyz"*50, 120, ["xyz"*40,"xyz"*10]) |
| 435 | |
| 436 | def testHopByHop(self): |
| 437 | for hop in ( |
| 438 | "Connection Keep-Alive Proxy-Authenticate Proxy-Authorization " |
| 439 | "TE Trailers Transfer-Encoding Upgrade" |
| 440 | ).split(): |
| 441 | for alt in hop, hop.title(), hop.upper(), hop.lower(): |
| 442 | self.assertTrue(util.is_hop_by_hop(alt)) |
| 443 | |
| 444 | # Not comprehensive, just a few random header names |
| 445 | for hop in ( |
| 446 | "Accept Cache-Control Date Pragma Trailer Via Warning" |
| 447 | ).split(): |
| 448 | for alt in hop, hop.title(), hop.upper(), hop.lower(): |
| 449 | self.assertFalse(util.is_hop_by_hop(alt)) |
| 450 | |
| 451 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 452 | def test_filewrapper_getitem_deprecation(self): |
nothing calls this directly
no test coverage detected