W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

Re: Does libwww support Base 64 Encoding?

From: Hermann Gundel <hgu@software-ag.de>
Date: Tue, 30 Jan 2001 17:02:01 +0100
Message-Id: <3A76E579.BF215F2C@software-ag.de>
To: Ailleen Lien <alien@clientsoft.com>
Cc: www-lib@w3.org
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 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC