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,pw
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(
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(' ')[1]).split(':')
Nice.
Tha
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(':')
a.
--
Adrian van den Dries [EMAIL PR
At 10:04 AM 3/26/2003 +1100, Adrian van den Dries wrote:
On March 26, Danny W. Adair wrote:
> - use a different approach to call the other server (like passing a
> copy of the current Auth header or something...)
BaseRequest._auth holds the original auth header, so you can just
forward it along.
Th
On March 26, Danny W. Adair wrote:
> - use a different approach to call the other server (like passing a
> copy of the current Auth header or something...)
BaseRequest._auth holds the original auth header, so you can just
forward it along.
a.
--
Adrian van den Dries [
Hi,
I need to make an authenticated call from one Zope server to another.
Although the two servers share most of their object trees (including the
main user folder) through a common ZEO ClientStorage, I have to call the
script on a _specific_ machine, since it will make changes to the local
fi