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

Re: CGI, uploading file using HTTP [REBOL] [out of ML]

From: andreas:bolka:gmx at: 23-Jun-2003 22:38

Monday, June 23, 2003, 9:39:05 AM, Marc wrote:
> You wrote: { > I put the content-transfer-encoding: base64 header in as there are a number > of ways to transfer files. These include base64 and binary. I have not > tested Andreas' script with binary transfers. > } > If I understand well, Andreas' script is binary oriented by default. > Did I miss something ??? Anyway, it works with NON converted > transfer. Which is the only way I observed experimentaly.
Graham's page is about the client side of doing HTTP form base uploads. I.e. about using REBOL to post files to an HTTP server. Our discussion (and my script) care for the server side, i.e. about using REBOL to accept posts by clients. Please note also, that Graham and I never tested interop betw our scripts. Further, Graham clearly states on his page: "NB: This code is untested against a multi-part form and may need some more tweaking to actually work" And just to mention this again: content-transfer-encoding is perfectly legal, and reasonable. In fact, if the header is not present, a default transfer encoding is assumed. In practice, some (most) browser don't seem to use it, when posting multipart/form-data; it seems, that binary transfer encoding (which is perfectly legal over HTTP) is used by default. -- Best regards, Andreas mailto:[andreas--bolka--gmx--net]