Show More
@@ -39,6 +39,9 b' def decompressresponse(response, engine)' | |||
|
39 | 39 | |
|
40 | 40 | # We need to wrap reader.read() so HTTPException on subsequent |
|
41 | 41 | # reads is also converted. |
|
42 | # Ideally we'd use super() here. However, if ``reader`` isn't a new-style | |
|
43 | # class, this can raise: | |
|
44 | # TypeError: super() argument 1 must be type, not classobj | |
|
42 | 45 | origread = reader.read |
|
43 | 46 | class readerproxy(reader.__class__): |
|
44 | 47 | def read(self, *args, **kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now