emphasize r.content
authorKenneth Reitz <me@kennethreitz.com>
Sun, 14 Aug 2011 15:06:41 +0000 (11:06 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 14 Aug 2011 15:06:41 +0000 (11:06 -0400)
docs/index.rst

index 0f6d9ca93717e81aced697a57d10da8ac547ec97..e1628d426d506073817ab09bc6edfb2a4142cdc3 100644 (file)
@@ -21,9 +21,11 @@ Things shouldn’t be this way. Not in Python.
 
     >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
     >>> r.status_code
-    200
+    204
     >>> r.headers['content-type']
     'application/json'
+    >>> r.content
+    ...
 
 See `the same code, without Requests <https://gist.github.com/973705>`_.