summaryrefslogtreecommitdiff
path: root/apitest.py
diff options
context:
space:
mode:
Diffstat (limited to 'apitest.py')
-rw-r--r--apitest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apitest.py b/apitest.py
index 6e1867a..946e9e1 100644
--- a/apitest.py
+++ b/apitest.py
@@ -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'),