[Zope] xmlrpc redirect response

Marco Aurelio Catunda Martins catunda@embratel.net.br
Sat, 31 Aug 2002 18:55:29 -0300 (EST)


Hello,

When I try to adding an DTML Document by xmlrpc call the following
error appear:

xmlrpclib.ProtocolError: <ProtocolError for localhost:8080/RPC2: 302 Moved 
Temporarily>

The 302 error code is about redirect response. I think there is no make
sense redirect in xmlrpc call, so change zope source. I put the following
method at Response class in xmlrpc.py file:

    def redirect(self, location, status=302, lock=0):
        pass

What do you think about it? Is there any problem?

--
Marco Catunda