From 2b5cdc56f36f083666fb9abaed2adc9b9c60529b Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Sat, 18 Jul 2015 16:41:29 +0100 Subject: [PATCH] Expand on chunk length --- docs/user/advanced.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 494ba696..fccc7320 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -278,7 +278,8 @@ For chunked encoded responses, it's best to iterate over the data using :meth:`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: