mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix issue #36. Thanks.
This commit is contained in:
parent
4ea3b4201f
commit
7f97653bd4
@ -159,7 +159,7 @@ class Request(object):
|
||||
def start_response(self, status, headers, exc_info=None):
|
||||
if exc_info:
|
||||
try:
|
||||
if self.response and self.response.sent_headers:
|
||||
if self.response and self.response.headers_sent:
|
||||
raise exc_info[0], exc_info[1], exc_info[2]
|
||||
finally:
|
||||
exc_info = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user