Re: CGIXMLRPCRequestHandler example

2009-04-08 Thread O.R.Senthil Kumaran
On Apr 5, 12:24 pm, a...@pythoncraft.com (Aahz) wrote: > [posted & e-mailed, please respond on-group] There was some problem with the CGIXMLRPCRequestHandler code in the SimpleXMLRPC Server. It was not getting the length to read from the CONTENT_LENGTH environement variable ( as it the CGI server

Re: CGIXMLRPCRequestHandler example

2009-04-05 Thread Aahz
[posted & e-mailed, please respond on-group] In article , Phoe6 wrote: > >I have the following CGIXMLRPCRequestHandler usage example. >handler = SimpleXMLRPCServer.CGIXMLRPCRequestHandler() >handler.register_instance(Foo()) >handler.handle_request() What happens when you telnet localhost 80

CGIXMLRPCRequestHandler example

2009-03-29 Thread Phoe6
I have the following CGIXMLRPCRequestHandler usage example. I have both the server and the client in the same directory. I based this following this example: http://mail.python.org/pipermail/python-list/2005-May/320696.html Server Code: Foo.py import os import SimpleXMLRPCServer class Foo:

Re: anybody have a CGIXMLRPCRequestHandler example?

2005-05-02 Thread Chris Curvey
here's the simple example, for posterity import os import SimpleXMLRPCServer class Foo: def settings(self): return os.environ def echo(self, something): return something def greeting(self, name): return "hello, " + name handler = SimpleXMLRPCServer.CGIXMLRPCRe

anybody have a CGIXMLRPCRequestHandler example?

2005-04-28 Thread ccurvey
I see the ones in the docs, but I really (apparently) need some usage notes. Something as simple as an "echo" would probably do the trick. -- http://mail.python.org/mailman/listinfo/python-list