summaryrefslogtreecommitdiff
path: root/requests/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'requests/exceptions.py')
-rw-r--r--requests/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py
index bc42b5ff..7caf4db2 100644
--- a/requests/exceptions.py
+++ b/requests/exceptions.py
@@ -61,3 +61,7 @@ class InvalidURL(RequestException, ValueError):
class ChunkedEncodingError(RequestException):
"""The server declared chunked encoding but sent an invalid chunk."""
+
+
+class ContentDecodingError(RequestException):
+ """Failed to decode response content"""