diff --git a/requests/exceptions.py b/requests/exceptions.py index 9684d9e5..da5af10b 100644 --- a/requests/exceptions.py +++ b/requests/exceptions.py @@ -100,6 +100,7 @@ class StreamConsumedError(RequestException, TypeError): class RetryError(RequestException): """Custom retries logic failed""" + class UnrewindableBodyError(RequestException): """Requests encountered an error when trying to rewind a body"""