Revert "In fact, the feature is so awesome that it should go into index.rst"

This reverts commit f968fe0136.
This commit is contained in:
Kenneth Reitz
2012-06-07 03:02:32 +02:00
parent f968fe0136
commit dda9689ca4
+3 -5
View File
@@ -18,15 +18,13 @@ Things shouldnt be this way. Not in Python.
::
>>> r = requests.get('http://httpbin.org/get', auth=('user', 'passwd'))
>>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
>>> r.status_code
200
204
>>> r.headers['content-type']
'application/json'
>>> r.text
u'{\n "url": "http://httpbin.org/get", \n "headers": {...
>>> r.json
{u'url': u'http://httpbin.org/get', u'headers': {...
...
See `the same code, without Requests <https://gist.github.com/973705>`_.