mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #2173 from tychotatitscheff/master
Documentation update : connection keep alive
This commit is contained in:
@@ -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
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user