Commit bd5c18fd authored by Matt Iversen's avatar Matt Iversen

Pass copy of error list instead of direct reference

parent c2ff5f0c
...@@ -524,7 +524,7 @@ class WSGIHandler(object): ...@@ -524,7 +524,7 @@ class WSGIHandler(object):
if self.response_length: if self.response_length:
self.close_connection = True self.close_connection = True
else: else:
self.start_response(_INTERNAL_ERROR_STATUS, _INTERNAL_ERROR_HEADERS) self.start_response(_INTERNAL_ERROR_STATUS, _INTERNAL_ERROR_HEADERS[:])
self.write(_INTERNAL_ERROR_BODY) self.write(_INTERNAL_ERROR_BODY)
def _headers(self): def _headers(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment