[Zope] Content-Transfer-Encoding for file uploads does work

Sedat Yilmazer sedat@kibele.com
Fri, 29 Jun 2001 18:59:24 +0300


This is a multi-part message in MIME format.

------=_NextPart_000_0356_01C100CD.9DF06E40
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0357_01C100CD.9DF1F4E0"


------=_NextPart_001_0357_01C100CD.9DF1F4E0
Content-Type: text/plain;
	charset="windows-1254"
Content-Transfer-Encoding: quoted-printable

=20
 I have tried to upload a form with a file in it with =
Content-Transfer-Encoding: base64 and all I got at the Zope side was a =
file with the encoded data=20
=20
 I have checked the cgi.py in ZPublisher and it seems =
Content-Transfer-Encoding is not implemented there!!
=20
Sedat Yilmazer
Kibele Iletisim Sis. ve Serv. Ltd.
=20

------=_NextPart_001_0357_01C100CD.9DF1F4E0
Content-Type: text/html;
	charset="windows-1254"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1254">


<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D235115615-29062001>&nbsp;I have tried=20
to upload a form with a file in it with <FONT =
size=3D2>Content-Transfer-Encoding:=20
base64 and all I got at the Zope side was a file with the encoded data=20
</FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D235115615-29062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D235115615-29062001>&nbsp;I have checked=20
the cgi.py in ZPublisher and it seems <FONT =
size=3D2>Content-Transfer-Encoding is=20
not implemented there!!</FONT></SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sedat Yilmazer</FONT></DIV>
<DIV><FONT face=3D"Arial TUR" size=3D2>Kibele Iletisim Sis. ve Serv.=20
Ltd.</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_001_0357_01C100CD.9DF1F4E0--

------=_NextPart_000_0356_01C100CD.9DF06E40
Content-Type: application/octet-stream;
	name="Sedat Yilmazer (E-mail).vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Sedat Yilmazer (E-mail).vcf"

BEGIN:VCARD
VERSION:2.1
N:Yilmazer;Sedat
FN:Sedat Yilmazer (E-mail)
ORG:Kibele
TEL;WORK;VOICE:+90 (212) 293 05 80
TEL;CELL;VOICE:+90 (532) 272 68 89
TEL;WORK;FAX:+90 (212) 292 07 44
ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;Somuncu Sok. =
17/5=3D0D=3D0AFindikli;Beyoglu;ISTANBUL;80040;Turkey
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Somuncu Sok. =
17/5=3D0D=3D0AFindikli=3D0D=3D0ABeyoglu, ISTANBUL 80040=3D0D=3D0ATurkey
EMAIL;PREF;INTERNET:sedat@kibele.com
REV:20010330T091840Z
END:VCARD

------=_NextPart_000_0356_01C100CD.9DF06E40--