[REBOL] Re: read bug?
From: joel:neely:fedex at: 4-May-2001 6:33
Thanks, Graham!
Graham Chiu wrote:
...
> Using Holger's/Chris' code --
>
> if system/options/cgi/request-method = "POST" [
> len_post: ( 20 + load system/options/cgi/content-length )
> post: make string! len_post
> while [0 < read-io system/ports/input post len_post ] []
> do decode-cgi post
> ]
>
> seems to have fixed it. My vidwikibeta script can now post
> over 17k without loss. If you want to stress it, the script
> is on my site.
>
This day is already overfulltorunningover ;-) but I'll try to
look at it over the weekend. One of the things I had planned
to do was merge wiki-like functionality with a REBOL-based
mini-http-server script to provide a lightweight interactive
note-taking tool for my laptop. Of course, it would also need
a means to synch the content with other boxes (home box, desk
box at work, big server at work, etc...)
-jn-