kopia lustrzana https://github.com/micropython/micropython-lib
![]() The host in headers extracted from the original url may not be the same as the host in the redirect url. Poping out the host in headers force the code to use the host in the redirect url, otherwise the redirect may fail due to inconsistence of hosts in the original url and the redirect url. Signed-off-by: 黃昕暐 <meebox@gmail.com> |
||
---|---|---|
.. | ||
requests | ||
README.md | ||
example_xively.py | ||
manifest.py | ||
test_requests.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.