Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Rebol as cgi

 [1/3] from: warp::reboot::ch at: 30-Oct-2000 16:58


Hello all 8) Well sorry if this info is already somewhere but I couldn't find it. How do I make so that content returned from a cgi are showed in the browser as they arrive instead of waiting for the cgi to finish before seeing the results in the browser ?? I noted that the search in rebol.org does work this way. Thanks a lot Will Arp

 [2/3] from: warp:reboot:ch at: 31-Oct-2000 14:45


Is it something to do with header : "Transfer-Encoding: chunked" Where do I set this ?

 [3/3] from: allen:rebolforces at: 1-Nov-2000 1:39


----- Original Message ----- From: "Will Arp" <[warp--reboot--ch]> To: <[rebol-list--rebol--com]> Sent: Tuesday, October 31, 2000 11:45 PM Subject: [REBOL] Re: Rebol as cgi
> Is it something to do with header : "Transfer-Encoding: chunked" > Where do I set this ?
<<quoted lines omitted: 3>>
> > > > How do I make so that content returned from a cgi are showed in the
browser
> > as they arrive instead of waiting for the cgi to finish before seeing
the
> > results in the browser ??
Hi Will, When you print in cgi, the contents are buffered before sending to the browser, the output buffer appears to be very small though. So make sure you print out enough for the browser to start displaying the page before the time consuming processes are started. For an example to prove that this works, I wrote a quick REBOL cgi script. http://www.rebolforces.com/cgi-bin/chunks.cgi Cheers, Allen K

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted