diff --git a/requests/models.py b/requests/models.py index d1a9c868..76e9d039 100644 --- a/requests/models.py +++ b/requests/models.py @@ -672,6 +672,7 @@ class Response(object): @property def ok(self): + """Returns true if :attr:`status_code` is 'OK'.""" try: self.raise_for_status() except HTTPError: