Show More
@@ -96,7 +96,9 b' class ErrorResponse(Exception):' | |||||
96 | message = _statusmessage(code) |
|
96 | message = _statusmessage(code) | |
97 | Exception.__init__(self, message) |
|
97 | Exception.__init__(self, message) | |
98 | self.code = code |
|
98 | self.code = code | |
99 |
|
|
99 | if headers is None: | |
|
100 | headers = [] | |||
|
101 | self.headers = headers | |||
100 |
|
102 | |||
101 | class continuereader(object): |
|
103 | class continuereader(object): | |
102 | def __init__(self, f, write): |
|
104 | def __init__(self, f, write): |
General Comments 0
You need to be logged in to leave comments.
Login now