Fix the TG 1.x adapters, the resquest.params are now needed by the get_args function.

This commit is contained in:
Christophe de Vienne 2012-12-19 15:00:57 +01:00
parent e68c9e99b6
commit 73afdb0a87

View File

@ -49,6 +49,7 @@ def wsexpose(*args, **kwargs):
def callfunction(self, *args, **kwargs):
args, kwargs = wsme.rest.args.get_args(
funcdef, args, kwargs,
cherrypy.request.params,
cherrypy.request.body,
cherrypy.request.headers['Content-Type']
)