diff options
author | Ian Cordasco <graffatcolmingov@gmail.com> | 2014-10-25 08:31:03 -0500 |
---|---|---|
committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2014-11-12 13:58:03 -0600 |
commit | adf475ef82cbd29f63814c0626f64926deb2355b (patch) | |
tree | 42251b9338854e759a473933acb996f3f0c89163 | |
parent | 2eb7e3c80b345f6c6e13fadf6f1ba98efccdd2e2 (diff) | |
download | python-requests-adf475ef82cbd29f63814c0626f64926deb2355b.tar.gz |
Update HTTPAdapter docstring
-rw-r--r-- | requests/adapters.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/requests/adapters.py b/requests/adapters.py index 723b8179..c892853b 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:: |