From 0c08ca715484528b41d6957937f1d7af255d897a Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 1 Jul 2016 14:13:41 -0600 Subject: [PATCH] updating docstring to match functionality --- requests/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requests/models.py b/requests/models.py index 50b7f5da..7d5d8b5e 100644 --- a/requests/models.py +++ b/requests/models.py @@ -657,6 +657,12 @@ class Response(object): read into memory. This is not necessarily the length of each item returned as decoding can take place. + chunk_size must be of type int or None. A value of None will + function differently depending on the value of `stream`. + stream=True will read data as it arrives in whatever size the + chunks are recieved. If stream=False, data is returned as + a single chunk. + If decode_unicode is True, content will be decoded using the best available encoding based on the response. """