Hi,

I have a dtml file on FSDV which should return a file in text/plain
format. The dtml method starts with:

<dtml-call expr="RESPONSE.setHeader('content-type', 'text/plain')">
... some content ...

However, when I use 'curl -I' to check which Content-Type header is
returned, I find it is still 'text/html', despite the call to
setHeader.

Where could the problem lie? I am using Zope 2.7.6, with Apache
configured as frontend (with rewrite enabled). Could it be caused by
Apache?

-- 
Hong Yuan

大管家网上建材超市
www.homemaster.cn
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to