[Zope] More WebDAV fun.

Tony McDonald tony.mcdonald@ncl.ac.uk
Sun, 08 Apr 2001 20:29:04 +0100


On 8/4/01 7:39 pm, "Oliver Bleutgen" <myzope@gmx.net> wrote:

>>> It doesn't.  But one of the reasons that it doesn't is that a DTML Method
>>> can actually impersonate a lot of things, just by having the first line
>>> being:
>>> 
>>> Content-type: application/x-msword
> 
>> I just tried that on Zope 2.3.1b1 and it doesn't work :-(
> 
>> That text just gets stuck at the top of the output...
> 
>> Any ideas?
> 
> <dtml-call "REQUEST.set('Content-Type','application/x-msword')"> ?
> 
> cheers,
> oliver
> 

If you can handle using a DTML document, set a property for the document
called 'content_type' to 'application/x-msword'

Tone
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope