<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Wed, 2004-03-10 at 16:18, zope@netchan.cotse.net wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#40a3c5"><I>RESPONSE.write(text)
RESPONSE.flush() </I></FONT></PRE>
</BLOCKQUOTE>
<BR>
I use Zope behind Apache with mod_rewrite and mod_proxy.<BR>
This method doesn't seems to work in this configuration...<BR>
It only works when you have a direct access to Zope.<BR>
<BR>
&nbsp; Thierry<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#40a3c5"><I>&gt; -----Original Message-----
&gt; From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On 
&gt; Behalf Of fowlertrainer@anonym.hu
&gt; Sent: Wednesday, March 10, 2004 1:56 AM
&gt; To: zope@zope.org
&gt; Cc: gal.laszlo@peto.hu
&gt; Subject: [Zope] Zope html progress result generate
&gt; 
&gt; 
&gt; Hello !
&gt; 
&gt; In mod_python I can send the result to the browser with
&gt; o.write(Msg) command immediately (o is the object of the connection).
&gt; 
&gt; So I can show the progress of the long operation like this:
&gt; 
&gt; o.content_type=&quot;html&quot;
&gt; o.write(&quot;Long process with progress&quot;)
&gt; for i in range(1,101):
&gt;     o.write(str(i)+&quot;% processed&quot;);
&gt;     sleep(100)
&gt; o.write(&quot;Finished...&quot;)
&gt; 
&gt; So I can see the whole progress in the browser.
&gt; 
&gt; I want to create same function in zope.
&gt; Can I do it ?
&gt; 
&gt; Thanx for every help !
&gt; 
&gt; -- 
&gt; Best regards,
&gt;  fowlertrainer                          mailto:fowlertrainer@anonym.hu
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Zope maillist  -  Zope@zope.org 
&gt; </FONT><A HREF="http://mail.zope.org/mailman/listinfo/zope"><U>http://mail.zope.org/mailman/listinfo/zope</U></A>
<FONT COLOR="#40a3c5">&gt; **   No cross 
&gt; posts or HTML encoding!  **
&gt; (Related lists - 
&gt;  </FONT><A HREF="http://mail.zope.org/mailman/listinfo/zope-announce"><U>http://mail.zope.org/mailman/listinfo/zope-announce</U></A>
<FONT COLOR="#40a3c5">&gt;  </FONT><A HREF="http://mail.zope.org/mailman/listinfo/zope-dev"><U>http://mail.zope.org/mailman/listinfo/zope-dev</U></A><FONT COLOR="#40a3c5"> )
&gt; 


_______________________________________________
Zope maillist  -  Zope@zope.org</FONT>
<A HREF="http://mail.zope.org/mailman/listinfo/zope"><U>http://mail.zope.org/mailman/listinfo/zope</U></A>
<FONT COLOR="#40a3c5">**   No cross posts or HTML encoding!  **
(Related lists - 
 </FONT><A HREF="http://mail.zope.org/mailman/listinfo/zope-announce"><U>http://mail.zope.org/mailman/listinfo/zope-announce</U></A>
<FONT COLOR="#40a3c5"> </FONT><A HREF="http://mail.zope.org/mailman/listinfo/zope-dev"><U>http://mail.zope.org/mailman/listinfo/zope-dev</U></A><FONT COLOR="#40a3c5"> )</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>