(self)
| 846 | |
| 847 | @gen.coroutine |
| 848 | def read_response(self): |
| 849 | self.headers = yield self.read_headers() |
| 850 | body = yield self.stream.read_bytes(int(self.headers["Content-Length"])) |
| 851 | self.assertEqual(b"Hello world", body) |
| 852 | |
| 853 | def close(self): |
| 854 | self.stream.close() |
no test coverage detected