Added prefetch documentation for api
authorFrank Kumro <frank@frankkumro.com>
Fri, 13 Jan 2012 03:16:31 +0000 (22:16 -0500)
committerFrank Kumro <frank@frankkumro.com>
Fri, 13 Jan 2012 03:16:31 +0000 (22:16 -0500)
requests/api.py

index 40966cf3502f64e59d4b445a716d5f77f261df7b..b7d4158d2a4922b5cac90f957d46cb8d1b5fe168 100644 (file)
@@ -32,6 +32,7 @@ def request(method, url, **kwargs):
     :param session: (optional) A :class:`Session` object to be used for the request.
     :param config: (optional) A configuration dictionary.
     :param verify: (optional) if ``True``, the SSL cert will be verified. A CA_BUNDLE path can also be provided.
+    :param prefetch: (optional) if ``True``, the response content will be immediately downloaded.
     """
 
     s = kwargs.pop('session') if 'session' in kwargs else sessions.session()