Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 5742:97d7faebef0a
Test @apiver version parsing using bogus version. Test /rest, /rest/
for returned data, /rest/summary, /rest/summary/ for success and
/rest/notthere, /rest/notthere/ for a 404.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 29 May 2019 19:50:32 -0400 |
| 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
