[Zope] Content Type on DTML documents

Evan Simpson evan@tokenexchange.com
Tue, 18 Jan 2000 09:24:53 -0600


From: Steve Drees <drees@the-bridge.net>
> Is there a way to change the Content Type of DTML documents?

Yep.  Just put a <dtml-call expr="RESPONSE.setHeader('Content-type',
'application/x-javascript')"> in the target of a <script src="foo">, for
instance.

Cheers,

Evan @ 4-am