On Tue, 2003-03-25 at 23:35, Jamie Heilman wrote:
> Danny W. Adair wrote:
> > At 10:23 AM 3/26/2003 +1100, Adrian van den Dries wrote:
> > >On March 26, Danny W. Adair wrote:
> > >> Thanks. How would I do that?
> > >> ZPublisher.Client.call() is very convenient but only takes
> > >> url,username,pwd...
> > >
> > >import base64
> > >user, pass = base64.decodestring(req._auth.split(' ')).split(':')
> and then when the users's password contains a ':' ...
user, pass = base64.decodestring(req._auth.split(' ')).split(':', 1)
Ideas don't stay in some minds very long because they don't like
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -