From: Randy Morris Date: Mon, 7 Oct 2013 14:43:48 +0000 (-0400) Subject: update verbiage about streaming requests X-Git-Tag: v2.0.1~13^2~11^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66339b21fa45404b28812bb6d86408acf3f9cc81;p=services%2Fpython-requests.git update verbiage about streaming requests The Twitter API is no longer used in the example. --- diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index c065c04..0047b47 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -275,8 +275,7 @@ Streaming Requests With ``requests.Response.iter_lines()`` you can easily iterate over streaming APIs such as the `Twitter Streaming API `_. - -To use the Twitter Streaming API to track the keyword "requests":: +Simply set ``stream`` to ``False`` and iterate over the response with ``iter_lines()``:: import json import requests