Use for ... else construct to raise a 404 if handler not found