From 0536e5b708bea4e1ef25930bd7b4a8cfe930d6ce Mon Sep 17 00:00:00 2001 From: Frank Kumro Date: Thu, 12 Jan 2012 22:16:31 -0500 Subject: [PATCH] Added prefetch documentation for api --- requests/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/requests/api.py b/requests/api.py index 40966cf3..b7d4158d 100644 --- a/requests/api.py +++ b/requests/api.py @@ -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()