Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 5689:2c516d113620
Fix encoding for incoming json requests
First version of patch by John P. Rouillard
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 03 Apr 2019 12:08:18 +0200 |
| parents | db10c0a1f338 |
| children | 99d4fb22aa65 |
line wrap: on
line source
try: # Python 3+. from xmlrpc import client, server server.SimpleXMLRPCDispatcher except (ImportError, AttributeError): # Python 2. import xmlrpclib as client import SimpleXMLRPCServer as server
