(self)
| 854 | |
| 855 | @asyncio.coroutine |
| 856 | def write_eof(self): |
| 857 | try: |
| 858 | body = self._body |
| 859 | if body is not None: |
| 860 | self.write(body) |
| 861 | finally: |
| 862 | self.set_tcp_nodelay(True) |
| 863 | yield from super().write_eof() |
| 864 | |
| 865 | |
| 866 | def json_response(data=sentinel, *, text=None, body=None, status=200, |