Skip to content
Myr

Merge pull request #1437 from lukaszb/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixed wrong method call at streaming example

authored by Cory Benfield · committed by Cory Benfield · parents a1bb7fb, 805abee · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
279 unmodified lines
280281 import json282 import requests283284 r = requests.post('http://httpbin.org/stream/20', stream=True)284 r = requests.get('http://httpbin.org/stream/20', stream=True)285286 for line in r.iter_lines():287288 # filter out keep-alive new lines
306 unmodified lines