I figured out that I need application.add_mapping by now. But am still running into trouble with this. With the built-in webserver web.debug=False needs to be set, which works, but I am running my application using apache and mod_wsgi. There in needed to add autoreload=False as argument in the application() call, but still I am sometimes getting 404 not found errors when calling a url that I added with add_mapping. When I refresh the browser a few times I do get the correct page. I am running google chrome and connect to a local (in the same subnet) webserver without proxies or any other caching services in there.
The application does seem to run fine when I run it standalone with the built-in webserver.
Could there be a problem with Threading or something where the add_mapping call doesn't take effect in a different thread?
Cheers,
Dolf.