Skip to content
Myr

Merge branch 'patch-1' of https://github.com/spulec/requests into develop

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 · parents 76bf523, 3c2f52d · 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
658 unmodified lines
659 @property660 def ok(self):661 try:662 self.raise_for_status()663 except HTTPError:663 except RequestException:664 return False665 return True666667 def iter_content(self, chunk_size=10 * 1024, decode_unicode=False):
135 unmodified lines