From: Tim Konick Date: Mon, 22 Sep 2014 19:58:54 +0000 (-0400) Subject: make StreamConsumedError doubly inherit X-Git-Tag: v2.4.2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64ba451049c614eb14d336c2e7989ffaa81b2bb5;p=services%2Fpython-requests.git make StreamConsumedError doubly inherit --- diff --git a/requests/exceptions.py b/requests/exceptions.py index 32a1854..34c7a0d 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"""