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

[REBOL] Re: html post

From: al:bri:xtra at: 8-Aug-2002 22:09

Brett wrote:
> Again, I seem to recall that there was a problem with relying on
content-length, but if it is working for you then hey who am I to disagree! :^) It did take a while for me to realise the need for two extra character spaces. I had a aweful lot of .txt files that terminated with CR (instead of CRLF), or dropped the last character (that's how I noticed it). But I've been using the wiki software for weeks now on several computers and two type of web server and all's well. After all, as I understand it, the web server first receives all the data from the browser, then invokes the CGI (so setting content-length), collects the CGI output, adds appropriate headers, then supplies the browser. Each step is discrete and doesn't overlap as far as I know. I think the method you're describing is for occasions where Rebol is reading the data directly from a network rather than buffered by a web server. For example, a Rebol Web Server (not CGI script!) that's receiving multi-part form info from browser over a slow network, perhaps containing a file. Andrew Martin ICQ: 26227169