From: Kenneth Reitz Date: Sun, 14 Aug 2011 15:06:41 +0000 (-0400) Subject: emphasize r.content X-Git-Tag: v0.6.0~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=933cbd735bc57383b812a35aaf1e51c51de59d95;p=services%2Fpython-requests.git emphasize r.content --- diff --git a/docs/index.rst b/docs/index.rst index 0f6d9ca..e1628d4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 `_.