diff options
author | Tim Konick <konick781@gmail.com> | 2014-09-22 15:51:10 -0400 |
---|---|---|
committer | Tim Konick <konick781@gmail.com> | 2014-09-22 15:51:10 -0400 |
commit | 58e0a6f4a020db660119f1c9459ab37ba55b92d4 (patch) | |
tree | 43825f0af72035cdb3dc01d8996beaff87c1cbe8 | |
parent | d6470870d08828c1d332ae446d5288eaab55d1f1 (diff) | |
download | python-requests-58e0a6f4a020db660119f1c9459ab37ba55b92d4.tar.gz |
add-in StreamConsumedError
-rw-r--r-- | requests/exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py index d8f05f08..32a18542 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""" |