@ -103,7 +103,8 @@ class IhrApp(Bottle):
else:
self.views[prefix] = [view]
def wrapped_cb():
return callback(request.forms.dict)
# bottle uses a fancy MultiDict but we just want the simple version
return callback(dict(request.forms.items()))
self.route("/" + prefix + "/" + view, callback=wrapped_cb)
self.route("/" + prefix + "/" + view, callback=wrapped_cb, method="POST")