From: Tim Konick Date: Mon, 22 Sep 2014 19:51:10 +0000 (-0400) Subject: add-in StreamConsumedError X-Git-Tag: v2.4.2~3^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58e0a6f4a020db660119f1c9459ab37ba55b92d4;p=services%2Fpython-requests.git add-in StreamConsumedError --- diff --git a/requests/exceptions.py b/requests/exceptions.py index d8f05f0..32a1854 100644 --- a/requests/exceptions.py +++ b/requests/exceptions.py @@ -89,3 +89,6 @@ class ChunkedEncodingError(RequestException): class ContentDecodingError(RequestException, BaseHTTPError): """Failed to decode response content""" + +class StreamConsumedError(RequestException): + """The content for this response was already consumed"""