clean way to provide request argument
clean way to provide request argument

No need to use kwargs anymore to access the HttpRequest
if "request" is the first argument of the function (like a normal django view function) the "request" is automatically provided
instead of :
@rpcmethod(name='rpc4django.httprequest',signature=['string'])
def httprequest(**kwargs):
    return str(kwargs['request'])

you can now use
@rpcmethod(name='rpc4django.httprequest',signature=['string'])
def httprequest(request):
    return str(request)
davidfischer/rpc4django,davidfischer/rpc4django,davidfischer/rpc4django