Fix the way the pecan adapter calls wsme.rest.args.get_args

This commit is contained in:
Christophe de Vienne 2013-03-26 14:55:12 +01:00
parent bfd1bfb4ff
commit 0fa0177eef

View File

@ -62,7 +62,7 @@ def wsexpose(*args, **kwargs):
def callfunction(self, *args, **kwargs):
try:
args, kwargs = wsme.rest.args.get_args(
funcdef, args, kwargs, pecan.request.params,
funcdef, args, kwargs, pecan.request.params, None,
pecan.request.body, pecan.request.content_type
)
result = f(self, *args, **kwargs)