Commit 31227ca7 authored by Denis Bilenko's avatar Denis Bilenko

Merge pull request #327 from Ivoz/patch-1

Pass copy of error list instead of direct reference
parents c2ff5f0c bd5c18fd
......@@ -524,7 +524,7 @@ class WSGIHandler(object):
if self.response_length:
self.close_connection = True
else:
self.start_response(_INTERNAL_ERROR_STATUS, _INTERNAL_ERROR_HEADERS)
self.start_response(_INTERNAL_ERROR_STATUS, _INTERNAL_ERROR_HEADERS[:])
self.write(_INTERNAL_ERROR_BODY)
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