> Brett wrote:
> > The problem I think is that my REBOL script
> > does not send any data to the browser until it
> > quits. I've tried setting the mode of the output
> > port to no-wait, but no change. Can someone
> > solve this?

From: "Andrew Martin"
> I believe that web servers collect all the output of a CGI program, parse
> the output, and then send it to the browser/internet. There might be a
> setting in the web server software, to not parse the output of CGI
programs?

Hi, Andrew,

Yes, you seem to be correct.

Earlier, I looked at documentation about this "problem," and it was not to
be a particular problem with earlier versions of Apache.  On a lark, I
decided to try the proposed fixes, which meant doing two things.  Change the
name of the script to begin with "nph-" meaning non-parsed-headers (or
something like that).  Second, because the headers are not parsed, one must
then send the appropriate headers (namely, "HTTP/1.1 200).  I was successful
in using a multipart/x-mixed-replace for a "streamed" text, and IE6 even
showed the document!  Brett's 3 gif cgi also "showed" up as all three gifs,
but the characters, not the pictures.  Then when embedded in an html page as
an IMG, it downloaded the info, but no pic ever showed up.  REBOL as an HTTP
client downloaded similar content, but it was again, sent as one final
package, not as three parts in a stream.  So, at least I could not get it to
work much better.  I was pleased to at least see the text-only model print
anything at all!

Thanks for the additional input.
--Scott Jones

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to