projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e699016
)
Added prefetch documentation for api
author
Frank Kumro
<frank@frankkumro.com>
Fri, 13 Jan 2012 03:16:31 +0000
(22:16 -0500)
committer
Frank Kumro
<frank@frankkumro.com>
Fri, 13 Jan 2012 03:16:31 +0000
(22:16 -0500)
requests/api.py
patch
|
blob
|
history
diff --git
a/requests/api.py
b/requests/api.py
index 40966cf3502f64e59d4b445a716d5f77f261df7b..b7d4158d2a4922b5cac90f957d46cb8d1b5fe168 100644
(file)
--- 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()