[Zope] Time-consuming External method blocks Zope execution

Dieter Maurer dieter@handshake.de
Sat, 16 Jun 2001 21:02:50 +0200 (CEST)


shawn grant writes:
 > Here's an example of my test method.  Maybe you can tell me what I'm doing
 > wrong:<br>
 > <br>
 > &lt;dtml-call "RESPONSE.setHeader('content-type','multipart/x-mixed-replace;boundary=ThisRandomString')"&gt;<br>
 > <br>
 > &lt;dtml-call "RESPONSE.write('--ThisRandomString')"&gt;<br>
 > &lt;dtml-call "RESPONSE.setHeader('content-type','text/plain')"&gt;<br>
This will not work!

   The first "write" sends the message headers, all subsequent
   "setHeader" are ineffective.


Dieter