Add documentation about decode_unicode.
authorJason R. Coombs <jaraco@jaraco.com>
Tue, 4 Mar 2014 21:27:13 +0000 (16:27 -0500)
committerJason R. Coombs <jaraco@jaraco.com>
Tue, 4 Mar 2014 21:27:13 +0000 (16:27 -0500)
requests/models.py

index cd232e68094869a68bde81c729cf2e42fb9e6039..682cd9e15b7fd9db31fdf3e76bfee6e35fa57855 100644 (file)
@@ -617,6 +617,9 @@ class Response(object):
         large responses.  The chunk size is the number of bytes it should
         read into memory.  This is not necessarily the length of each item
         returned as decoding can take place.
+
+        If decode_unicode is True, content will be decoded using the best
+        available encoding based on the response.
         """
         if self._content_consumed:
             # simulate reading small chunks of the content