cURL / Mailing Lists / curl-library / Single Mail


Re: Problem with binary data

From: Henrik Storner <>
Date: Fri, 31 Oct 2003 17:24:31 +0100

On Fri, Oct 31, 2003 at 11:10:22AM -0500, Sharma, Amit wrote:
> I would think that encoding is necessary for the similar reason why we do
> MIME encoding/ base64 encoding prior to transmission. Though am not an
> expert to comment on this, however, we have faced problems if data is sent
> over network and involving multi OS without encoding the binary content.

Encoding of mails is required because the mail protocol (SMTP)
explicitly limits data to 7-bit ASCII. This restriction is not
present in the HTTP protocol, and thus no encoding is needed.

The underlying transport protocol (TCP/IP) also supports pure binary
data without any encoding. So actually mail/SMTP is the exception.

Henrik Storner <> 
This email is sponsored by: Giveback Program.
Does help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here:
Received on 2003-10-31