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:
|
||||
d = json.dumps(d)
|
||||
await res.write(d.encode('utf-8'))
|
||||
await res.drain()
|
||||
await res.drain()
|
||||
await res.write_eof()
|
||||
return res
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user