[XML-SIG] SimpleXMLRPCServer Question
Mark Bucciarelli
mark@easymailings.com
Wed, 1 Jan 2003 18:15:00 -0500
I'm trying to use the pycrypto module to pass encrypted login information=
to a=20
SimpleXMLRPCServer, but I'm getting a 500 Internal Error. I suspect it's=
=20
either a bug in the BaseHTTPServer or the cipertext argument contains som=
e=20
characters that aren't allowed.
I think the 500 error is triggered because the statement
data =3D self.rfile.read(int(self.headers["content-length"]))
in the SimpleXMLRPCRequestHandler throws an exception.
I've stubbed the server login function to simply return "FAILED" no matte=
r=20
what is passed in. When I call server.login("a"), it returns "FAILED" bu=
t=20
when I pass in cipher.encrypt("a 16 byte string") I get a 500 error.
So, is there some limit on the characters I can pass to an XMLRPC method?
Thanks!
Mark