(self)
| 1054 | |
| 1055 | @gen_test |
| 1056 | def test_pipelined_cancel(self): |
| 1057 | yield self.connect() |
| 1058 | self.stream.write( |
| 1059 | b"GET / HTTP/1.1\r\nHost:127.0.0.1\r\n\r\nGET / HTTP/1.1\r\nHost:127.0.0.1\r\n\r\n" |
| 1060 | ) |
| 1061 | # only read once |
| 1062 | yield self.read_response() |
| 1063 | self.close() |
| 1064 | |
| 1065 | @gen_test |
| 1066 | def test_cancel_during_download(self): |
nothing calls this directly
no test coverage detected