micropython-lib/python-ecosys/urequests
Paul Sokolovsky 5854ae1286 urequests: Add ability to parse response headers.
This is controlled by parse_headers param to request(), which defaults to
True for compatibility with upstream requests. In this case, headers are
available as .headers of Response objects. They are however normal (not
case-insensitive) dict.

If parse_headers=False, old behavior of ignore response headers is used,
which saves memory on the dict.

Finally, parse_headers can be a custom function which can e.g. parse only
subset of headers (again, to save memory).
2022-06-28 16:55:15 +10:00
..
example_xively.py python-ecosys: Move urequests to python-ecosys. 2021-05-27 16:53:02 +10:00
metadata.txt python-ecosys: Move urequests to python-ecosys. 2021-05-27 16:53:02 +10:00
setup.py python-ecosys: Move urequests to python-ecosys. 2021-05-27 16:53:02 +10:00
urequests.py urequests: Add ability to parse response headers. 2022-06-28 16:55:15 +10:00