Skip to content
Myr

Fix for #303

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 c71ac79 · Browse files · 1 file+3 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:requests/models.py+3 added-2 removed
439 unmodified lines
440 body=body,441 headers=self.headers,442 redirect=False,443 assert_same_host=False,444 preload_content=prefetch,444 preload_content=False,445 decode_content=False,446 retries=self.config.get('max_retries', 0),447 timeout=self.timeout,448 )
20 unmodified lines
469 self.__dict__.update(r.__dict__)470471 # If prefetch is True, mark content as consumed.472 if prefetch:473 self.response._content_consumed = True473 # Save the response.474 self.response.content475476 return self.sent477478
159 unmodified lines