[Checkins] SVN: zope.server/branches/achapman-exc-info/src/zope/server/http/wsgihttpserver.py comment to explain what happens next.

Satchidanand Haridas satchit at zope.com
Tue May 17 13:59:27 EDT 2011


Log message for revision 121702:
  comment to explain what happens next.
  
  

Changed:
  U   zope.server/branches/achapman-exc-info/src/zope/server/http/wsgihttpserver.py

-=-
Modified: zope.server/branches/achapman-exc-info/src/zope/server/http/wsgihttpserver.py
===================================================================
--- zope.server/branches/achapman-exc-info/src/zope/server/http/wsgihttpserver.py	2011-05-17 17:57:39 UTC (rev 121701)
+++ zope.server/branches/achapman-exc-info/src/zope/server/http/wsgihttpserver.py	2011-05-17 17:59:26 UTC (rev 121702)
@@ -83,6 +83,10 @@
             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



More information about the checkins mailing list