Skip to content
Myr

hurray for passing tests

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

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:requests/models.py+5 added-2 removed
737 unmodified lines
738 if self._content_consumed:739 raise RuntimeError(740 'The content for this response was already consumed')741742 self._content = bytes().join(self.iter_content()) or bytes()743 # print repr(self._content)742 if self.status_code is 0:743 self._content = None744 else:745 self._content = bytes().join(self.iter_content()) or bytes()746747 except AttributeError:748 self._content = None749750 self._content_consumed = True
46 unmodified lines