davidfischer/rpc4django — pull request #4 by enku (2012-08-20 16:53:22+00:00)
Title: Allow 'params' to be optional in JSONRPC requests.

Hi. According to the JSONRPC spec[1] the 'params' attribute is optional when calling a json rpc method. This is useful for, e.g. when your rpc method takes no parameters. Currently rpc4jango will not allow zero-argument methods to be called when using python-jsonrpc because it omits 'params' when no parameters are passed. This patch makes 'params' optional.

[1] http://www.jsonrpc.org/specification#request_object