bugfix
This commit is contained in:
parent
edce9df81b
commit
35fb8be660
@ -61,7 +61,7 @@ async def stream_response(request, async_data_generator, content_type='text/html
|
|||||||
else:
|
else:
|
||||||
d = json.dumps(d)
|
d = json.dumps(d)
|
||||||
await res.write(d.encode('utf-8'))
|
await res.write(d.encode('utf-8'))
|
||||||
await res.drain()
|
await res.drain()
|
||||||
await res.write_eof()
|
await res.write_eof()
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user