[Zope-Coders] Re: Changes to ZPublisher

Andreas Jung lists at andreas-jung.com
Wed Oct 13 09:41:02 EDT 2004



--On Mittwoch, 13. Oktober 2004 10:33 Uhr -0300 Sidnei da Silva 
<sidnei at awkly.org> 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


More information about the Zope-Coders mailing list