kopia lustrzana https://github.com/micropython/micropython-lib
![]() This module implements a subset of the Python requests module, and so it should have the same name. Added a backwards-compatibility wrapper to allow people to continue to use `import urequests`. This lives in micropython/urequests. Changed requests to be a package, so that we can implement extension packages in the future for optional functionality. Added a basic README.md to both. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> |
||
---|---|---|
.. | ||
requests | ||
README.md | ||
example_xively.py | ||
manifest.py |
README.md
requests
This module provides a lightweight version of the Python requests library.
It includes support for all HTTP verbs, https, json decoding of responses, redirects, basic authentication.
Limitations
- Certificate validation is not currently supported.
- A dictionary passed as post data will not do automatic JSON or multipart-form encoding of post data (this can be done manually).
- Compressed requests/responses are not currently supported.
- File upload is not supported.
- Chunked encoding in responses is not supported.