-
I am trying to establish a connection to a server, and would then like to keep the connection open and read the response line by line, in a non-blocking ( So far, I tried to use Is there a library that would allow me to do that without having to re-invent the wheel? What I am trying to achieve is something like this (works on "non-micro" python), but as mentioned everything should be async:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Have you taken s look at aiohttp in micropython-lib? |
Beta Was this translation helpful? Give feedback.
I think you need to specify
HTTP/1.1
version for theClientSession
e.g.get.py
example returnsTransfer-Encoding: chunked
,printing headers