From: SourceForge.net <no...@so...> - 2006-11-03 23:43:26
|
Patches item #1578963, was opened at 2006-10-17 15:41 Message generated for change (Comment added) made by cito You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=1578963&group_id=4866 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: WebKit Group: None Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Veros Kaplan (veros) Assigned to: Nobody/Anonymous (nobody) Summary: Error reporting Initial Comment: Default HTTPResponse doesn§t sent status 500 in case of exception. --- WebKit/HTTPResponse.py~ 2006-02-09 00:59:25.771571112 +0100 +++ WebKit/HTTPResponse.py 2006-02-09 00:59:32.088610776 +0100 @@ -277,6 +277,8 @@ """ if debug: print "HTTPResponse commit" self.recordSession() + if self._transaction.errorOccurred(): + self.setStatus(500, 'Error occurred') self.writeHeaders() self._committed = 1 self._strmOut.commit() ---------------------------------------------------------------------- >Comment By: Christoph Zwerschke (cito) Date: 2006-11-04 00:43 Message: Logged In: YES user_id=193957 Makes sense to me; checked it in. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=1578963&group_id=4866 |