[REBOL] Re: CGI POST input
From: g:santilli:tiscalinet:it at: 20-Nov-2000 15:50
Joel Neely wrote:
> > (I didn't try if /NO-WAIT works with CONSOLE://, tough)
>
> It doesn't.
Hmmm... the following seems to work here:
--
REBOL []
port: open/binary/no-wait console://
bytes: 0
while [bytes < 500] [
wait port
probe bytes: bytes + length? copy port
]
close port
--
but I don't have a cgi environment set up currently to test it...
I think you should be able to make it work with read-io, if it
doesn't with copy, tough...
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/