[REBOL] Re: CGI, uploading file using HTTP, server side
From: rebol:meurrens at: 23-Jun-2003 2:57
Hi,
According to my observations of data recently collected
on a sample of different browsers and OS (with the help of this ML):
(1) I never encountered the content-transfer-encoding feature
(2) The data were never base64 encoded.
(3) It seems (It's 2:45 in the morning in Brussels, so I'll have a more
precise look to morrow :-) )
that the default is to simply copy the bytes as they appear in the text or
binary file
and that this default is allways used.
(4) So, in fact, *all* clients ""avoid the overhead of base64 encoding""
(5) Nevertheless, I have tried to implement content-transfer-encoding
when introducing Andreas' function within my make-cgi.r script (
http://rebol.mksa.net/make-cgi/ )
just in case
.
(6) However, I am not sure that this implentation is really needed and
(!!!) I am not sure that
this implementation works because I was not able to test it, as I never
found a browser sending
such attribute. Thus my worry.
Regards,
</marc>
At 11:29 23/06/2003 +1200, you wrote:
>On Mon, 23 Jun 2003 00:13:27 +0200
> Andreas Bolka <[andreas--bolka--gmx--net]> wrote:
>
>>the whole content-transfer-encoding stuff stems from the email
>>background. as said before, i've never encountered it when using HTTP
>>forms with multipart/form-data encoding.
>
>I had to implement a Rebol solution a couple of years whereby the contents
>of a multipart form were mixed with text, and binary image data. The
>client wanted binary transfer to avoid the overhead of base64 encoding.
>
>--
>Graham Chiu
>http://www.compkarori.com/vanilla/
Prof. Ir Marc Meurrens, Brussels (be)
TEL: +32 (0)2 537 2812
FAX: +32 (0)2 537 7645
EMAIL: [marc--meurrens--org]
URL: http://www.meurrens.org/
REB: http://rebol.mksa.net/
PGPKEY: http://www.meurrens.org/pgp/
Please don't mail me attached files, instead, use my 'exchange area' :
EXCHANGE AREA: http://www.meurrens.org/exchange/
(HTTP/FTP upload/download of temporary/persistent files)