Skip to content

aiohttp 0.17.4 release

Choose a tag to compare

@asvetlov asvetlov released this 29 Sep 10:52
· 10954 commits to master since this release

Minor aiohttp release.

The main change is making code pep-492 compatible.
So you can use await in client API, e.g.:

async def getter(url):
    resp = await aiohttp.get(url)
    try:
        text = await resp.read()
        return text
    finally:
        await resp.release()

Changes

  • Properly parse URL path in aiohttp.web.Request #489
  • Add missing coroutine decorator, the code is await-compatible now