You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it is never functionally used, nor is some iter_content API exposed; the parameter is only forwarded to recursive request calls.
Workaround:
r=requests.get(...)
# sidestep @property content, which just reads socket data into memory until EOFs=r.rawr.raw=Nonebuf=bytearray(1024)
whiles.readinto(buf) >0:
# handle data in buf (e.g. write to file)
if the above is implemented into some iter_content, is the stream parameter even needed? Am I missing something?
The text was updated successfully, but these errors were encountered:
MicroPython v1.21.0; Raspberry Pi Pico W with RP2040
.requests.request
exposes astream=None
parameter:micropython-lib/python-ecosys/requests/requests/__init__.py
Lines 36 to 46 in d8e163b
but it is never functionally used, nor is some
iter_content
API exposed; the parameter is only forwarded to recursiverequest
calls.Workaround:
if the above is implemented into some
iter_content
, is the stream parameter even needed? Am I missing something?The text was updated successfully, but these errors were encountered: