Skip to content
Myr

document defaults

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4e8b680 · Browse files · 1 file+19 added−2 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+19 added−2 removed

  • other:+19 added−2 removed

1 file+19 added−2 removed

modified:requests/defaults.py+19 added-2 removed
27 unmodified lines
28 'Accept-Encoding': ', '.join(('identity', 'deflate', 'compress', 'gzip')),29 'Accept': '*/*'30}3132defaults['proxies'] = {}3233#: Stream to log requests to.34defaults['verbose'] = None3536#: Seconds until timeout.37defaults['timeout'] = None3839#: Maximum number of redirects allowed within a request.40defaults['max_redirects'] = 304142#: Should Requests decode unicode?43defaults['decode_unicode'] = True37defaults['timeout_fallback'] = True4445#: Reuse HTTP Connections?46defaults['keep_alive'] = True4748#: The number of active HTTP connection pools to use at a time.49defaults['pool_connections'] = 105051#: The maximium size of an HTTP connection pool.52defaults['pool_maxsize'] = 15354#: The number of times a request should be retried in the event of a55#: connection failure.56defaults['max_retries'] = 05758#: If true, Requests will catch all errors.59defaults['safe_mode'] = False