23
25
return {'method': 'patch',
24
26
'result': data['result'], 'test': data['test']}
27
29
def do_stuff(self, req, what):
28
30
return {'result': 'Did %s!' % what}
31
33
def say_something(self, req, thing='nothing'):
32
34
return {'result': 'Said %s!' % thing}
35
37
def do_say_something(self, req, what, thing='nothing'):
36
38
return {'result': 'Said %s and %s!' % (what, thing)}
39
41
def get_req_method(self, req):
40
42
return {'method': req.method}