Authorization problem using xmlrpclib to access Zope
David Peng
pengliwei at hotmail.com
Tue Nov 6 15:52:47 EST 2001
I am writing a command-line python program to create a File Object in Zope
using its xmlrpclib as client. I got an error message saying:
You are not authorized to access this resource.
No Authorization header found.'
The way I did this is:
s = xmlrpclib.Server(myURL, xmlrpclib, BasicAuthTransport(userid, passwd))
s.test.manage_addProduct.OFSP.manage_addFile("testfile")
BTW, I am using Amos's BasicAuthTransport.
Could someone please give me some help?
Thanks in advance.
More information about the Python-list
mailing list