diff options
author | Tim Konick <konick781@gmail.com> | 2014-09-22 15:58:54 -0400 |
---|---|---|
committer | Tim Konick <konick781@gmail.com> | 2014-09-22 15:58:54 -0400 |
commit | 64ba451049c614eb14d336c2e7989ffaa81b2bb5 (patch) | |
tree | e765e4589d291c62138df904bf0fe2f01d975964 | |
parent | 6e5f7bb9d397ade498ee22d9785863ef1b8ad946 (diff) | |
download | python-requests-64ba451049c614eb14d336c2e7989ffaa81b2bb5.tar.gz |
make StreamConsumedError doubly inherit
-rw-r--r-- | requests/exceptions.py | 2 |
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""" |