Skip to content
Myr

is should not be used for comparing numbers

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

authored by Alex Gaynor · committed by Alex Gaynor · parent 59b69d1 · 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/models.py+1 added-1 removed
573 unmodified lines
574 if self._content_consumed:575 raise RuntimeError(576 'The content for this response was already consumed')577578 if self.status_code is 0:578 if self.status_code == 0:579 self._content = None580 else:581 self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()582
91 unmodified lines