Re: cgi "waiting..1..2.3" output...
- Posted by irv mullins <irvm at ellijay.com> Sep 07, 2004
- 474 views
Rubens Monteiro Luciano wrote: > > Hi Irv, > > I try this. Didn=B4t work. Maybe the problem is Xitami. > I look the code from the EUFORUM page and it didn=B4t seem to use= > =20 > server-push... > > #!\cgi-bin\euphoria\bin\exw.exe > > > include \cgi-bin\euphoria\include\sort.e > include \cgi-bin\euphoria\include\misc.e > include \cgi-bin\euphoria\include\file.e > > puts(1,"HTTP/1.0 200") > puts(1,"Content-type:=20 -- the next line IS server push! See the second web page ( recommended. > multipart/x-mixed-replace;boundary=---ThisRandomString---") > puts(1,"") > puts(1,"---ThisRandomString---") > > for i=1 to 5 do > puts(1,"Content-type: text/html") > puts(1,"") > puts(1,"1") > puts(1,"<p>") > puts(1,"<plaintext>") > puts(1,"---ThisRandomString---") > sleep(1) > end for > Irv