Skip to content

Commit

Permalink
adding a comment accidentally removed by the earlier checkin. Thanks …
Browse files Browse the repository at this point in the history
…to Jim for catching this.
  • Loading branch information
satchit committed May 17, 2011
1 parent b231541 commit c777716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/zope/server/http/wsgihttpserver.py
Expand Up @@ -34,6 +34,10 @@ def start_response(status, headers, exc_info=None):
if exc_info:
try:
if task.wroteResponseHeader():
# higher levels will catch and handle raised exception:
# 1. "service" method in httptask.py
# 2. "service" method in severchannelbase.py
# 3. "handlerThread" method in taskthreads.py
raise exc_info[0], exc_info[1], exc_info[2]
else:
# As per WSGI spec existing headers must be cleared
Expand Down

0 comments on commit c777716

Please sign in to comment.