|
|
@ -103,6 +103,7 @@ class IhrApp(Bottle):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.views[prefix] = [view]
|
|
|
|
self.views[prefix] = [view]
|
|
|
|
def wrapped_cb():
|
|
|
|
def wrapped_cb():
|
|
|
|
|
|
|
|
formdata = request.forms.dict
|
|
|
|
return callback(request.forms)
|
|
|
|
return callback(request.forms)
|
|
|
|
self.route("/" + prefix + "/" + view, callback=wrapped_cb)
|
|
|
|
self.route("/" + prefix + "/" + view, callback=wrapped_cb)
|
|
|
|
self.route("/" + prefix + "/" + view, callback=wrapped_cb, method="POST")
|
|
|
|
self.route("/" + prefix + "/" + view, callback=wrapped_cb, method="POST")
|
|
|
|