From 933cbd735bc57383b812a35aaf1e51c51de59d95 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 14 Aug 2011 11:06:41 -0400 Subject: [PATCH] emphasize r.content --- docs/index.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 `_. -- 2.34.1