RE: [Zope-dev] standard_error_message and displaying non-html content.

2001-10-19 Thread Noel Duffy
I have now put the first (rough) draft of a proposal up on dev.zope.org. Please feel free to comment/modify/add suggestions. If anyone has a specific problem with standard_error_message which my proposal does not address, please feel free to contact me. I will be away from the office for the

Re: [Zope-dev] standard_error_message and displaying non-html content.

2001-10-18 Thread Noel Duffy
Steve Alexander writes: seb bacon wrote: I don't believe there is a clean way. I've changed the source not to display its own html at all. It's not nice, but I suppose that's the benefit of OSS. Is there a FishBowl proposal on remedying this? If not, there should be one.

Re: [Zope-dev] standard_error_message and displaying non-html content.

2001-10-18 Thread Casey Duncan
On Thursday 18 October 2001 10:19 am, Noel Duffy allegedly wrote: [snip] Just to clarify, I am only concerned at present with the code in HTTPResponse that, in the case of an exception, scans for !doctype html or html, and wraps them in html if these are not found. (Seb, does this cover the

Re: [Zope-dev] standard_error_message and displaying non-html content.

2001-10-18 Thread Andy McKay
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

RE: [Zope-dev] standard_error_message and displaying non-html content.

2001-10-18 Thread Trevor Toenjes
Of Noel Duffy Sent: Thursday, October 18, 2001 10:20 AM To: Steve Alexander Cc: seb bacon; [EMAIL PROTECTED] Subject: Re: [Zope-dev] standard_error_message and displaying non-html content. Steve Alexander writes: seb bacon wrote: I don't believe there is a clean way. I've changed