From: Jason R. Coombs Date: Tue, 4 Mar 2014 21:27:13 +0000 (-0500) Subject: Add documentation about decode_unicode. X-Git-Tag: v2.3.0~6^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8226f69e13b9a076f725965e2ed462216c2f4c3;p=services%2Fpython-requests.git Add documentation about decode_unicode. --- diff --git a/requests/models.py b/requests/models.py index cd232e6..682cd9e 100644 --- a/requests/models.py +++ b/requests/models.py @@ -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