diff options
Diffstat (limited to 'apitest.py')
-rw-r--r-- | apitest.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ class Api(apifw.Api): }, ] - def version(self, content_type, body): + def version(self, content_type, body, **kwargs): return apifw.Response({ 'status': apifw.HTTP_OK, 'body': 'version: 4.2', @@ -56,7 +56,7 @@ class Api(apifw.Api): }, }) - def upload(self, content_type, body): + def upload(self, content_type, body, **kwargs): return apifw.Response({ 'status': apifw.HTTP_OK, 'body': 'thank you for %s\n' % body.decode('ascii'), |