Skip to content
Myr

Merge pull request #2984 from rbcarson/httpadapter-maxretries-doc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Remove int type on HTTPAdapter's max_retries argument doc

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 645ac30, a02069e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/adapters.py+1 added-1 removed
63 unmodified lines
64 covers.6566 :param pool_connections: The number of urllib3 connection pools to cache.67 :param pool_maxsize: The maximum number of connections to save in the pool.68 :param int max_retries: The maximum number of retries each connection68 :param max_retries: The maximum number of retries each connection69 should attempt. Note, this applies only to failed DNS lookups, socket70 connections and connection timeouts, never to requests where data has71 made it to the server. By default, Requests does not retry failed72 connections. If you need granular control over the conditions under
381 unmodified lines