From: Chris R. <chr...@me...> - 2001-03-16 12:10:56
|
Chris Ridd <chr...@me...> wrote: > Graham Barr <gb...@po...> wrote: >> On Thu, Mar 15, 2001 at 12:00:19PM -0600, Clif Harden wrote: >>> It may be the easy way out, but I think it is the best option. It gives >>> the user the choice on how the data is present back to him. >> >> I agree. >> >>> > What default should we have? ;-) We'd want to preserve the existing >>> > interface (I guess) so we need a default. >>> >>> >>> I think the default should be the current way perl-ldap handles the >>> data, encode => none. If the user does not care about encoding no >>> changes to his software would be needed. >>> >>> If the user wants the canonicalizer, encode => canonical. >>> If the user wants base 64, encode => base64. Would this require the >>> perl base64 module? >>> >>> >>> I have no idea how much coding work this would be. >> >> >> this seems quite reasonable, and would not be too difficult to do. > > OK. I've added support for setting this behaviour in the constructor (and documented it). The revised revised (:-) patch is attached. Cheers, Chris |