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:
aa6650a
)
Documentation update : connection keep alive
author
tat3657
<tycho.tatitscheff@astrium.eads.net>
Fri, 22 Aug 2014 08:39:05 +0000
(10:39 +0200)
committer
tat3657
<tycho.tatitscheff@astrium.eads.net>
Fri, 22 Aug 2014 08:39:05 +0000
(10:39 +0200)
docs/user/advanced.rst
patch
|
blob
|
history
diff --git
a/docs/user/advanced.rst
b/docs/user/advanced.rst
index 503b3f866d76b142bc1b88ebf1d1c4e9ad302168..bffc7c038f89b4b3ad70119c12ed539b333a6425 100644
(file)
--- a/
docs/user/advanced.rst
+++ b/
docs/user/advanced.rst
@@
-240,6
+240,9
@@
Note that connections are only released back to the pool for reuse once all body
data has been read; be sure to either set ``stream`` to ``False`` or read the
``content`` property of the ``Response`` object.
+Also note that you may have to set manually the ``'Connection': 'keep-alive'`` header to force the server keeping
+the connection open.
+This header is set by default by Chrome, Firefox, IE and opera but isn't set by urllib.
Streaming Uploads
-----------------