On Mon, Apr 09, 2001 at 01:30:46PM +0200, Tino Wildenhain wrote:
at least <dtml-call "RESPONSE.setHeader('content-type','application/x-msword')"> schould do the trick.
Not when you are trying to edit the source via the WebDAV source port, it doesn't. Setting a 'content_type' property on a DTMLDocument will work though. Note that a GET will return text/html by default for DTMLMethods, BTW. However, a PROPFIND returns an empty content type; this is probably a bug, it should use content_type or default_content_type if either is present on the object. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------