Skip to content

Commit 4cd8564

Browse files
committed
requests: Update README and bump version to 0.10.3.
Document HTTP/1.1 requests and Content-Length body reads via .raw. Signed-off-by: Pablo Ventura <pablogventura@gmail.com>
1 parent a529d9e commit 4cd8564

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

python-ecosys/requests/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ This module provides a lightweight version of the Python
44
[requests](https://requests.readthedocs.io/en/latest/) library.
55

66
It includes support for all HTTP verbs, https, json decoding of responses,
7-
redirects, basic authentication.
7+
redirects, basic authentication, HTTP/1.1 requests, and reading response
8+
bodies with Content-Length via streaming ``.raw`` or lazy ``.content``.
89

910
### Limitations
1011

@@ -14,3 +15,10 @@ redirects, basic authentication.
1415
* Compressed requests/responses are not currently supported.
1516
* File upload is not supported.
1617
* Chunked encoding in responses is not supported.
18+
* HTTP keep-alive connection reuse is not supported (Connection: close by default).
19+
20+
### Follow-up work
21+
22+
* Chunked response bodies (separate PR).
23+
* TLS certificate verification (see micropython-lib issue #838).
24+
* ``stream=True`` incremental body reads (see issue #777).

python-ecosys/requests/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
metadata(version="0.10.2", pypi="requests")
1+
metadata(version="0.10.3", pypi="requests")
22

33
package("requests")

0 commit comments

Comments
 (0)