Skip to content
Myr

Merge pull request #3704 from afeld/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

clarify that the `chunk_size` is optional when streaming to a file

authored by Cory Benfield · committed by GitHub · parents 5b66b36, ed3ba3d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/quickstart.rst+1 added-1 removed
182 unmodified lines
183184Using ``Response.iter_content`` will handle a lot of what you would otherwise185have to handle when using ``Response.raw`` directly. When streaming a186download, the above is the preferred and recommended way to retrieve the187content.187content. Note that ``chunk_size`` is optional.188189190Custom Headers191--------------
336 unmodified lines