async with aiohttp.ClientSession() as session: async with session.get('http://example.com') as r: print(r.status) print(await r.text())