Re: Does libwww support Base 64 Encoding?

Hi Ailleen,

Ailleen Lien wrote:
> 
> Hi, ALL,
> 
>      Does libwww support Base 64 Encoding?  Does anyone know how to use the
> functions?

As far as I understand the code base, it is supported in that you can
set the appropriate protocol headers, but there is no routine that
implements the actual encoding/decoding. You have to provide that
routine(s) yourself (e.g. as uuencode/uudecode wrappers) and make them
known to libwww in the init phase with

HTFormat_addCoding ("base64", yourBASE64encoder, yourBASE64decoder,
1.0)  resp.
HTFormat_addTransferCoding ("base64", yourBASE64encoder,
yourBASE64decoder, 1.0)

A rather short description can be found in HTFormat.html

> Thanks for any response.
> 
> Ailleen Lien

Just my 2 Cents
Hermann
-- 
Hermann Gundel
Software AG, Darmstadt, Germany
R&D DBMS Open Systems
tel: +49-6151-921127
email: Hermann.Gundel@softwareag.com

Received on Tuesday, 30 January 2001 11:02:08 UTC