Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Getting empty Post data

From: SunandaDH:aol at: 21-Dec-2004 16:55

Janek:
> Are there some better ways?
It's definitely a bug. The response is either an empty string or none depending on whether you are running under Unix/Linux or Windows (I forget which is which). 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, Sunanda