From: Ian Cordasco Date: Sat, 25 Oct 2014 13:31:03 +0000 (-0500) Subject: Update HTTPAdapter docstring X-Git-Tag: v2.5.0~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adf475ef82cbd29f63814c0626f64926deb2355b;p=services%2Fpython-requests.git Update HTTPAdapter docstring --- diff --git a/requests/adapters.py b/requests/adapters.py index 723b817..c892853 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -64,7 +64,9 @@ class HTTPAdapter(BaseAdapter): should attempt. Note, this applies only to failed DNS lookups, socket connections and connection timeouts, never to requests where data has made it to the server. By default, Requests does not retry failed - connections. + connections. If you need granular control over the conditions under + which we retry a request, import urllib3's ``Retry`` class and pass + that instead. :param pool_block: Whether the connection pool should block for connections. Usage::