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

[REBOL] Re: POST

From: carl:s:rebol at: 27-Jun-2003 15:11

I should clarify that the CGI script examples have only been tested under Apache web servers (running on a variety of systems). A few other notes: 1. GGI CONTENT-LENGTH field is not used because we have found that field is not always supplied or accurate on all web servers (at least that's been our experience - we know one site that modifies web packets and changes their lengths!). 2. We switch on POST and GET to allow a third case: NONE. This is very handy for local debugging (getting your script working before you upload it to the server). For example: cgi-data: any [read-cgi "test=123&"] will return the test string when you run your script locally. -Carl