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: 30-Dec-2004 10:29

Janeks:
> 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: "" .
Apologies for not responding sooner. Your message never made it to my inbox. And, from reports from several other people, it may have been one of the messages that no one saw -- the ML is not well this season. Thanks for the testing on different platforms. Useful information
> Should I update input-cgi in scrips library?
The problem with that is that it would end up doing one or the other -- returning either none or an empty string. That may break existing code where people are running on just one platform and have opted for just one of the two tests. The problem isn't specifically with the code in the Library. It also affects Carl's own version of the same code, read-cgi: http://www.rebol.com/docs/words/wread-io.html I think the solution is to add a note to both the script in the Library and Carl's read-cgi to highlight the two possible results for null data. I'll update the Library script, and drop RT a feedback message. Thanks again, Sunanda.