Simple async HTTP/1.1 client
Project description
A small, not so great async Python HTTP client.
This HTTP client does not implement any error / exception handling. If the server the client is talking to deviates from the HTTP spec, this code will behave in unexpected ways. Network errors? Those are unhandled too!
Usage
import asyncio
import pywreck
async def main():
response = await pywreck.get("www.example.com", "/")
print(response)
asyncio.run(main())
Why?
Eh, why not? Sometimes you just need a small async HTTP client with no dependencies – no batteries included.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywreck-0.1.2.tar.gz
(14.0 kB
view hashes)