This is an async client for http connections on MicroPython. It is basically a
mixture of urequests and uaiohttpclient.
- http requests
- https requests
- payload, headers, etc. (not tested)
- handle chunked http packages (not tested)
- correctly handle
Content-Length - expose a
Streamobject to make process-on-receive possible - expose a
ChunkedWriterto send chunked packegs(useuicefox.request_rawdirectly)
The code tells everything. Docs are not planned for the moment. Take the test script as an example.
Better to "close" the response object (call await resp.close()), I don't know what will happen if not.
- handle chunked request
- better handling of chunked response
- performance & memory usage optimization
I use Firefox's UA, so I call it icefox, but add u as prefix following the conventions. It looks like nicefox, isn't it?