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:
d647087
)
add-in StreamConsumedError
author
Tim Konick
<konick781@gmail.com>
Mon, 22 Sep 2014 19:51:10 +0000
(15:51 -0400)
committer
Tim Konick
<konick781@gmail.com>
Mon, 22 Sep 2014 19:51:10 +0000
(15:51 -0400)
requests/exceptions.py
patch
|
blob
|
history
diff --git
a/requests/exceptions.py
b/requests/exceptions.py
index d8f05f0817b6048bcd5e8e3a73e80eedf6e27d5b..32a1854269a9022cbeeef7693fdc4b40d10ebae6 100644
(file)
--- 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"""