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
- Original Message -
From: "Loren Stafford" <[EMAIL PROTECTED]>
To: "Andrew Edmondson" <[EMAIL PROTECTED]>
Sent: October 09, 2000 10:59 AM
Subject: Re: [Zope-dev] ZPublisher.Client
> This is a known problem.
> http://classic.zope.org
Andrew Edmondson writes:
> I used to use Client.py quite a lot for calling zope objects through the web
> from python.
>
> However, now that I've upgraded to Zope 2.x it fails.
> __call__
> raise NotAvailable, RemoteException(
> bci.NotAvailable: (111, 'Connection refused') (File:
> h
I used to use Client.py quite a lot for calling zope objects through the web
from python.
However, now that I've upgraded to Zope 2.x it fails.
(Zope 2.2 ZPublisher, connecting to Zope 2.1.2)
Traceback (innermost last):
File "/u/g/aedmondson/backups/pack_db.py", line 22, in ?
pack()
Fil
10 matches
Mail list logo