Skip to content
Myr

Set Response.sent to True

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

Fixes #291

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6bb4c4e · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/models.py+1 added
444 unmodified lines
445 decode_content=False,446 retries=self.config.get('max_retries', 0),447 timeout=self.timeout,448 )449 self.sent = True450451452 except MaxRetryError, e:453 if not self.config.get('safe_mode', False):
183 unmodified lines