From b4a5af4fcbf4e5d0f741aaf9978c728235b11a56 Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:41:37 -0700 Subject: Imported Upstream version 2.7.0 --- requests/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'requests/exceptions.py') diff --git a/requests/exceptions.py b/requests/exceptions.py index 34c7a0d..89135a8 100644 --- a/requests/exceptions.py +++ b/requests/exceptions.py @@ -90,5 +90,10 @@ class ChunkedEncodingError(RequestException): class ContentDecodingError(RequestException, BaseHTTPError): """Failed to decode response content""" + class StreamConsumedError(RequestException, TypeError): """The content for this response was already consumed""" + + +class RetryError(RequestException): + """Custom retries logic failed""" -- cgit v1.2.3