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(' ')[1]).split(':')
Nice.
Thank you! Btw, I changed "pass" to "pwd" :-)
Danny
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
