(self)
| 977 | |
| 978 | @gen.coroutine |
| 979 | def read_response(self): |
| 980 | self.headers = yield self.read_headers() |
| 981 | body = yield self.stream.read_bytes(int(self.headers["Content-Length"])) |
| 982 | self.assertEqual(b"Hello world", body) |
| 983 | |
| 984 | def close(self): |
| 985 | self.stream.close() |
no test coverage detected