Expand on chunk length

This commit is contained in:
Cory Benfield
2015-07-18 16:41:29 +01:00
parent 84cc36017a
commit 2b5cdc56f3
+2 -1
View File
@@ -278,7 +278,8 @@ For chunked encoded responses, it's best to iterate over the data using
:meth:`Response.iter_content() <requests.models.Response.iter_content>`. In
an ideal situation you'll have set ``stream=True`` on the request, in which
case you can iterate chunk-by-chunk by calling ``iter_content`` with a chunk
size parameter of ``None``.
size parameter of ``None``. If you want to set a maximum size of the chunk,
you can set a chunk size parameter to any integer.
.. _multipart: