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:
5afe11b
)
async documentation
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 1 Oct 2011 08:52:13 +0000
(
04:52
-0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 1 Oct 2011 08:52:28 +0000
(
04:52
-0400)
requests/async.py
patch
|
blob
|
history
diff --git
a/requests/async.py
b/requests/async.py
index cfd19644799786f2bc25e1d32a0206ca51b13c42..9517064d3d18155bbed0ec7f6db85ecb1a1a9c25 100644
(file)
--- a/
requests/async.py
+++ b/
requests/async.py
@@
-24,11
+24,11
@@
from .packages.urllib3.poolmanager import PoolManager
__all__ = (
- 'map', 'get', 'head', 'post', 'put', 'patch', 'delete', 'request'
+ 'map',
+ 'get', 'head', 'post', 'put', 'patch', 'delete', 'request'
)
-
def _patched(f):
"""Patches a given API function to not send."""
@@
-69,6
+69,7
@@
def map(requests, keep_alive=False):
"""Concurrently converts a list of Requests to Responses.
:param requests: a collection of Request objects.
+ :param keep_alive: If True, HTTP Keep-Alive will be used.
"""
if keep_alive: