Skip to content
Myr

added docstring for response.ok property

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

authored by Mislav Cimperšak · committed by Mislav Cimperšak · parent 655f0ed · 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
670 unmodified lines
671 return self.iter_content(128)672673 @property674 def ok(self):675 """Returns true if :attr:`status_code` is 'OK'."""676 try:677 self.raise_for_status()678 except HTTPError:679 return False
244 unmodified lines