Skip to content
Myr

Merge pull request #1270 from makto/add_attr

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

add 'max_redirects' to Session's __attrs__

authored by Kenneth Reitz · committed by Kenneth Reitz · parents ba25184, 4ffae38 · 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/sessions.py+1 added-1 removed
180 unmodified lines
181182 __attrs__ = [183 'headers', 'cookies', 'auth', 'timeout', 'proxies', 'hooks',184 'params', 'verify', 'cert', 'prefetch', 'adapters', 'stream',185 'trust_env']185 'trust_env', 'max_redirects']186187 def __init__(self):188189 #: A case-insensitive dictionary of headers to be sent on each
287 unmodified lines