Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- from asyncio import run
- import aiohttp
- async def purgey() -> None:
- async with aiohttp.ClientSession() as session:
- async with session.request(
- "PURGE",
- "https://us.cooperlees.com/pure_test"
- ) as purge_response:
- pass
- # content = await purge_response.text()
- # print(content)
- # print(purge_response.status)
- # print(dir(purge_response))
- # print(vars(purge_response))
- if __name__ == "__main__":
- run(purgey())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement