quickstart for encoding v0.8.2
authorKenneth Reitz <me@kennethreitz.com>
Sat, 19 Nov 2011 21:15:48 +0000 (16:15 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 19 Nov 2011 21:15:48 +0000 (16:15 -0500)
docs/user/quickstart.rst

index cdced6b9611d46b7f08c350a4f951a4a7accb89a..618887f888f6e74f8fc57e82971e54178f3928b5 100644 (file)
@@ -42,6 +42,11 @@ We can read the content of the server's response::
 Requests does its best to decode content from the server. Most unicode
 charsets, ``gzip``, and ``deflate`` encodings are all seamlessly decoded.
 
+When you make a request, ``r.encoding`` is set, based on the HTTP headers.
+Requests will attempt to use that encoding when you access ``r.content``. You
+can manually set ``r.encoding`` to any encoding you'd like (including ``None``),
+and that charset will be used.
+
 
 Make a POST Request
 -------------------