summaryrefslogtreecommitdiff
path: root/requests/exceptions.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2014-01-08 13:53:23 -0500
committerKenneth Reitz <me@kennethreitz.com>2014-01-08 13:53:23 -0500
commitdf1c2335c82165b961b8a0361d0176cdb298e513 (patch)
tree7fcf397321be4a85ad4a757751568a4082b02305 /requests/exceptions.py
parent1500632b602be698bfce682daeb01a2d64fc2d39 (diff)
parentb17cad65cf27646f0680954914ab31abd4f626c9 (diff)
downloadpython-requests-fix-pickling-adapters.tar.gz
Merge branch 'master' into fix-pickling-adaptersfix-pickling-adapters
Conflicts: AUTHORS.rst
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"""