]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add progress to streaming download (#1268)
authorcdeler <serj.krotov@gmail.com>
Thu, 10 Sep 2020 09:16:00 +0000 (12:16 +0300)
committerGitHub <noreply@github.com>
Thu, 10 Sep 2020 09:16:00 +0000 (12:16 +0300)
commited16eb3a3def7c9a4759fec5f4ada537bd5d1cad
tree81225cce98c1de1458d756ade32d464cb3d8a567
parent4d950e5780b3fb7cff16eb05134c2298231968ff
Add progress to streaming download (#1268)

* Added last_raw_chunk_size to the Response object (#1208)

* Added example with progress bar (#1208)

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* Apply suggestions from code review

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* PR review
Changed last_raw_chunk_size to num_bytes_downloaded ;
Edited the example according to documentaion

* Update docs/advanced.md

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* Update docs/advanced.md

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
* Update docs/advanced.md

* Update docs/advanced.md

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
docs/advanced.md
httpx/_models.py
tests/models/test_responses.py