[Zope] manage_upload and file objects

Dieter Maurer dieter@handshake.de
Sun, 1 Jul 2001 23:22:11 +0200 (CEST)


Sedat Yilmazer writes:
 >  I have tried all combinations. Also looked at the cgi.py in ZPublisher and there seems to be no code to handle
 > content-transfer-encoding
Maybe, I was wrong.... Sorry!

Is it mandatory to send the images base64 encoded?

If not, use the same mechanism that browsers use for
image upload. You can find out, how they do with
Shane's "tcpwatch" product.
I think, they send the image in binary form and provide
a "Content-Length" header with the exact size of the image.


Dieter