summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Konick <konick781@gmail.com>2014-09-22 15:58:54 -0400
committerTim Konick <konick781@gmail.com>2014-09-22 15:58:54 -0400
commit64ba451049c614eb14d336c2e7989ffaa81b2bb5 (patch)
treee765e4589d291c62138df904bf0fe2f01d975964
parent6e5f7bb9d397ade498ee22d9785863ef1b8ad946 (diff)
downloadpython-requests-64ba451049c614eb14d336c2e7989ffaa81b2bb5.tar.gz
make StreamConsumedError doubly inherit
-rw-r--r--requests/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py
index 32a18542..34c7a0db 100644
--- a/requests/exceptions.py
+++ b/requests/exceptions.py
@@ -90,5 +90,5 @@ class ChunkedEncodingError(RequestException):
class ContentDecodingError(RequestException, BaseHTTPError):
"""Failed to decode response content"""
-class StreamConsumedError(RequestException):
+class StreamConsumedError(RequestException, TypeError):
"""The content for this response was already consumed"""