[Zope-dev] standard_error_message and displaying non-html content.
Andy McKay
andym@ActiveState.com
Thu, 18 Oct 2001 10:44:08 -0700
> I think the way to proceed is to create a fishbowl proposal to
> change ZPublisher so that no HTML wrapping takes place if the Content-Type
is
> some thing other than "text/html".
>
> Unfortunately changing "magic" like this has a tendancy to break code that
> unwittingly relies on it. The fishbowl allows everyone to give that due
> consideration.
>
> I think this is a great idea BTW.
Yeah it would be useful since I currently check to see if the request is an
xmlrpc one to return xml instead of html. This may be simply part of the new
component architecture to have text/plain treated differently.
Cheers.
--
Andy McKay.