-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/bugfix: make the HTTP client able to return HTTP chunks when …
…chunked transfer encoding is used (#2150) * implement http chunk parsing in http parser (C version) * http chunk decoding: implement chunk signals in Python parser * StreamReader: add tests for [begin|end]_chunk_receiving methods * update documentation to clarify the difference between iter_any() and iter_chunks() * add tests for http chunks parsing * add changelog file for PR 2150 * http chunk parsing: readchunk() now returns tuples of (data, end_of_http_chunk) * http chunk parsing: adapt iterchunks() generator to new return format * streams.py: use parenthesis for line wrapping instead of backslash * add unit tests for ChunkTupleAsyncStreamIterator * do not catch EofStream in ChunkTupleAsyncStreamIterator * change the behaviour of stream.readchunk when searching for the next http chunk * add tests to the stream.readchunk() method * http_parser.py: remove useless blank line * update documentation in streams.rst * update documentation in docs/client_reference.rst * minor change to test_streams.py * change formatting in streams.rst * fix spelling errors in documentation * stream.rs: replace 'boolean' with :class:
- Loading branch information
Showing
10 changed files
with
261 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Make the HTTP client able to return HTTP chunks when chunked transfer encoding is used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.