projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5f7bb
)
make StreamConsumedError doubly inherit
author
Tim Konick
<konick781@gmail.com>
Mon, 22 Sep 2014 19:58:54 +0000
(15:58 -0400)
committer
Tim Konick
<konick781@gmail.com>
Mon, 22 Sep 2014 19:58:54 +0000
(15:58 -0400)
requests/exceptions.py
patch
|
blob
|
history
diff --git
a/requests/exceptions.py
b/requests/exceptions.py
index 32a1854269a9022cbeeef7693fdc4b40d10ebae6..34c7a0dbffc39a6684048e6ea7274b18ce993a6e 100644
(file)
--- 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"""