(self)
| 597 | |
| 598 | |
| 599 | def test_sending_headers(self): |
| 600 | handler = self.start_server() |
| 601 | req = urllib.request.Request("http://localhost:%s/" % handler.port, |
| 602 | headers={"Range": "bytes=20-39"}) |
| 603 | with urllib.request.urlopen(req): |
| 604 | pass |
| 605 | self.assertEqual(handler.headers_received["Range"], "bytes=20-39") |
| 606 | |
| 607 | |
| 608 | def test_sending_headers_camel(self): |
nothing calls this directly
no test coverage detected