Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-15 Thread Nils Kassube
Casey Duncan [EMAIL PROTECTED] writes: The server returns a 200 response status. Strangly, the response headers do include WWW-Authenticate. So, the xml-rpc code must be changing the response status. Yes. It's probably this piece in ZPublisher/xmlrpc.py: --cut-- # Do the damage.

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-15 Thread Tim Hoffman
I have lodged a collector issue on this Rgds Tim On Fri, 2002-08-16 at 04:31, Nils Kassube wrote: Casey Duncan [EMAIL PROTECTED] writes: The server returns a 200 response status. Strangly, the response headers do include WWW-Authenticate. So, the xml-rpc code must be changing the

[Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Tim Hoffman
Hi I am working on a project that uses XWT (xwt.org) as a frontend to Zope. XWT uses XMLRPC to communicate with a backend (in this case Zope). XWT expects an Error 401 is authentication is required on an XMLRPC call, so that it can negotiate the correct auth method The author of XWT sent the

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Tim Hoffman
I have had further from Adam Megacz [EMAIL PROTECTED] the author of XWT on this issue. I believe I should raise a collector issue on this, however do people believe this is a correct assessment of the situation. == Tim

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Casey Duncan
Python's xmlrpclib doesn't support any authentication. It is easily subclassed to include it. I have successfully used it to connect with Zope and I do not have any reason to believe that Zope is broken with regard to authentication. However I do think that Python's xmlrpclib should include

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Tim Hoffman
Hi Casey I am using Basic Auth with xmlrpc lib now, and yes it does work with Python2.1 but that's not my point. The XML-RPC spec doesn't talk about authentication, and so yes what you say is correct. However Adams position is that the spec says it is implemented on top of http and the http

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Casey Duncan
This tcp dump from an xml-rpc request to the root manage method shows that you are correct: [00:00.000 - client 127.0.0.1:3130 forwarded to :8080] [00:00.002 - server connected] POST /RPC2 HTTP/1.0 Host: localhost:9080 User-Agent: xmlrpclib.py/1.0.0 (by www.pythonware.com)

Re: [Zope-dev] XMLRPC and Basic Auth problems

2002-08-14 Thread Tim Hoffman
Hi Casey Thanks for the note. I had done the snoops myself yesterday and came to the same conclusion. Do you want me to raise the collector issue ? Rgds Tim On Thu, 2002-08-15 at 12:36, Casey Duncan wrote: This tcp dump from an xml-rpc request to the root manage method shows that you are