[REBOL] Re: Newbi CGI question
From: gabriele::colellachiara::com at: 5-Mar-2006 14:03
Hi Kai,
On Sunday, March 5, 2006, 3:16:23 AM, you wrote:
KP> switch system/options/cgi/request-method [
KP> "POST" [data: input ]
This does not account for binary input data; also, input will give
you only one line of text, so it wouldn't work in many cases.
It should be noted that it is possible to avoid using READ-IO by
setting the input port to binary mode and using COPY/PART with the
expected input length (from Content-Length, maybe capped to a
reasonable maximum).
Regards,
Gabriele.
--
Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/