Hi, I am a little confused with how to set the Content-type of the method or document that is being served by zope. I would like to be able to set it to multipart/x-mixed-replace so that I can do some server-push. I have tried the following without success. <dtml-call "REQUEST['RESPONSE'].setHeader('CONTENT_TYPE','multipart/x-mixed-replace')"> <dtml-var "REQUEST['RESPONSE'].setHeader('CONTENT_TYPE','multipart/x-mixed-replace')"> When I do a <dtml-var "REQUEST['RESPONSE'].getHeader('CONTENT_TYPE')"> I just get 'NONE' terry
I am a little confused with how to set the Content-type of the method or document that is being served by zope. I would like to be able to set it to multipart/x-mixed-replace so that I can do some server-push.
try : <dtml-call "RESPONSE.setHeader('Content-Type', 'multipart/x-mixed-replace')"> ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo http://www.funcom.com ------------------------------------------------
participants (2)
-
Geir B Hansen -
Terry Kerr