async version of urequests library #12222
-
I've been using urequests successfully to download jpeg files from https websites. Now I'm experimenting with asyncio and I can't seem to find an async equivalent of the requests library. I came across uaiohttpcient in micropython-lib however that has a severe limitation that is only works for http connections. I'm using a Pico W and would have thought this is a fairly common use case however I've been searching google for hours and nothing obvious for micropython is coming up. I'm clearly looking in the wrong places. Please can you help by pointing to an async requests library. Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@djbloc SSL support for asyncio is currently the last remaining item for the v1.21 release (see the recent PRs about implementing SSLContext). Once that's implemented then it will be possible to add it to the various micropython-lib libraries (like uaiohttpclient). |
Beta Was this translation helpful? Give feedback.
-
Many thanks @jimmo I look forward to seeing the v1.21 release |
Beta Was this translation helpful? Give feedback.
@djbloc SSL support for asyncio is currently the last remaining item for the v1.21 release (see the recent PRs about implementing SSLContext). Once that's implemented then it will be possible to add it to the various micropython-lib libraries (like uaiohttpclient).