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:
0b424e1
)
more proper prefetch
author
Kenneth Reitz
<me@kennethreitz.com>
Thu, 10 Nov 2011 01:54:13 +0000
(17:54 -0800)
committer
Kenneth Reitz
<me@kennethreitz.com>
Thu, 10 Nov 2011 01:54:13 +0000
(17:54 -0800)
requests/async.py
patch
|
blob
|
history
diff --git
a/requests/async.py
b/requests/async.py
index 92839c30a25c627aea4a78aa4cff4f29e6b89886..84abd40da013c10269a54a69cec91b291eb44bcb 100644
(file)
--- a/
requests/async.py
+++ b/
requests/async.py
@@
-34,6
+34,7
@@
def patched(f):
def wrapped(*args, **kwargs):
kwargs['return_response'] = False
+ kwargs['prefetch'] = True
return f(*args, **kwargs)