added initial support (hidden from -hh and not yet usable) for REST-JSON API

This commit is contained in:
Bernardo Damele
2012-12-14 02:49:25 +00:00
parent 46885d4c28
commit 6e31e87de1
4 changed files with 36 additions and 2 deletions

View File

@@ -485,6 +485,9 @@ LIMITED_ROWS_TEST_NUMBER = 15
# Default TCP port used for XML-RPC server instance
XMLRPC_SERVER_PORT = 8776
# Default TCP port used for REST API server instance
RESTAPI_SERVER_PORT = 8775
# Regular expression for SOAP-like POST data
SOAP_RECOGNITION_REGEX = r"(?s)\A(<\?xml[^>]+>)?\s*<([^> ]+)( [^>]+)?>.+</\2.*>\s*\Z"