curl-library
Re: Base64 encode and decode
Date: Fri, 21 Jan 2011 20:16:57 +0100 (CET)
On Fri, 21 Jan 2011, amit paliwal wrote:
>> libcurl base64-encodes control data in a few places automatically when
>> required (e.g. for Basic authentication), but it won't encode data. If your
>> application requires base64-encoded data, it will need to be so encoded in
>> the app. And those two functions are not actually part of the libcurl API,
>> so they aren't even available for use in apps, anyway.
> So does it mean that if I use TLS and HTTPS I need not to apply it
> separately and it will be done automatically??????
It means that libcurl provides an API to do data transfers. You can use that
API as documented. libcurl offers transfers using a larger amount of different
protocols, and some of those protocols do sometimes require that data is sent
base64-encoded and then libcurl will do so.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-21