projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be62645
)
Github URL fix
author
David Fischer
<djfische@gmail.com>
Sat, 2 Mar 2013 04:36:42 +0000
(20:36 -0800)
committer
David Fischer
<djfische@gmail.com>
Sat, 2 Mar 2013 04:36:42 +0000
(20:36 -0800)
docs/user/quickstart.rst
patch
|
blob
|
history
diff --git
a/docs/user/quickstart.rst
b/docs/user/quickstart.rst
index
46ce580
..
3021336
100644
(file)
--- a/
docs/user/quickstart.rst
+++ b/
docs/user/quickstart.rst
@@
-141,7
+141,7
@@
In the rare case that you'd like to get the raw socket response from the
server, you can access ``r.raw``. If you want to do this, make sure you set
``stream=True`` in your initial request. Once you do, you can do this::
- >>> r = requests.get('https:/github.com/timeline.json', stream=True)
+ >>> r = requests.get('https:/
/
github.com/timeline.json', stream=True)
>>> r.raw
<requests.packages.urllib3.response.HTTPResponse object at 0x101194810>
>>> r.raw.read(10)