From: tat3657 Date: Fri, 22 Aug 2014 08:39:05 +0000 (+0200) Subject: Documentation update : connection keep alive X-Git-Tag: v2.4.0~12^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b2602344fe783c5422602ff5f7d03bf7928c0f3;p=services%2Fpython-requests.git Documentation update : connection keep alive --- diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 503b3f8..bffc7c0 100644 --- 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 -----------------