diff --git a/src/requests/models.py b/src/requests/models.py index c4b25fa079..e05dd0d475 100644 --- a/src/requests/models.py +++ b/src/requests/models.py @@ -760,11 +760,7 @@ def ok(self): the status code is between 200 and 400, this will return True. This is **not** a check to see if the response code is ``200 OK``. """ - try: - self.raise_for_status() - except HTTPError: - return False - return True + return self.status_code < 400 @property def is_redirect(self):