[REBOL] Re: Getting empty Post data
From: sags:apollo:lv at: 22-Dec-2004 21:16
On 21 Dec 2004 at 16:55, SunandaDH-aol.com wrote:
> It's definitely a bug.
Bug of what?
Web serv, script, rebol?
> The response is either an empty string or none depending on whether
> you are running under Unix/Linux or Windows (I forget which is
In my case the diffrent responses does not comes from different
OSes. I got false: on Win2000 server and MS IIS, WinXP and Abyss
WebServ, while WinXP and KFWS gives: "" .
> In all my code, I leave the equivalent of input-cgi unpatched, and
> have an 'all to test for null data:
> if any [none? cgi-input
> "" = cgi-input
> ;; code for no input fields
> Dunno if that is better, though,
I like this better - it seems more readable.
But I would rather include this in input-cgi, then I will have
less to work on "bugs" in scripts that refferences to input-cgi
and to make dependent scrips more cross platform.
Should I update input-cgi in scrips library?