Skip to content

Commit

Permalink
fix #82: read body until eof
Browse files Browse the repository at this point in the history
  • Loading branch information
popravich committed Jul 2, 2014
1 parent 771e7db commit 1d391bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/client.py
Expand Up @@ -153,7 +153,7 @@ def request(method, url, *,

url = urllib.parse.urldefrag(r_url)[0]
if url:
resp.close()
yield from asyncio.Task(resp.read_and_close(), loop=loop)
continue

break
Expand Down

1 comment on commit 1d391bf

@fafhrd91
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

Please sign in to comment.