projects
/
platform
/
upstream
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1bb7fb
)
Fixed wrong method call at streaming example
author
Lukasz Balcerzak
<lukaszbalcerzak@gmail.com>
Thu, 27 Jun 2013 11:37:39 +0000
(13:37 +0200)
committer
Lukasz Balcerzak
<lukaszbalcerzak@gmail.com>
Thu, 27 Jun 2013 11:37:39 +0000
(13:37 +0200)
405 is returned if POST request is performed to http://httpbin.org/stream/20
docs/user/advanced.rst
patch
|
blob
|
history
diff --git
a/docs/user/advanced.rst
b/docs/user/advanced.rst
index 9e0865a96091fad8d06b3476adc15bf33e337ebd..246313fc52c79b79cfe566f7dfa5b3324d98a5d1 100644
(file)
--- a/
docs/user/advanced.rst
+++ b/
docs/user/advanced.rst
@@
-281,7
+281,7
@@
To use the Twitter Streaming API to track the keyword "requests"::
import json
import requests
- r = requests.
pos
t('http://httpbin.org/stream/20', stream=True)
+ r = requests.
ge
t('http://httpbin.org/stream/20', stream=True)
for line in r.iter_lines():