Re: Re: Changes to ZPublisher
Andreas Jung <[email protected]>
| Newsgroups | gmane.comp.web.zope.coders |
|---|---|
| Message-ID | <4CA0BF1D3FD0078B3E607024@[192.168.0.102]> |
--On Mittwoch, 13. Oktober 2004 10:33 Uhr -0300 Sidnei da Silva <[email protected]> wrote: >| The publisher's job has always been to mediate between what the protocl >| (HTTP) expects, and what the application delivers. In this case, the >| difference is between having the HTTP response code be 404, or having it >| be 500. Making either choice is DWIM ("do what I mean"); it happens to >| be consistent with the other publisher code (immediately following the >| test for __bobo_traverse__) to treat it as a 404 instead of a 500. >| >| In debug mode, we should prefer a 500, because it preserves the original >| exception information; this is the current behavior for errors raised >| from getattr / getitem, and would be the behavior under Sidnei's >| proposed change. > > That's correct. > > The thread seems to have died here, and I don't think we came to a > consensus if it should be merged to 2.7 and trunk or just trunk. Please include your patch on the SVN trunk but not on the 2.7 branch. I don't see the benefits for having the changes on the 2.7 branch especially not for the upcoming 2.7.3 final release. Andreas