def default(self, user):
        """Produce HTTP response body of the users app fallback URI."""
        # Here we react depending on the virtualPath -- the part of the
        # path that could not be mapped to an object method. In a real
        # application, we would probably do some database lookups here
        # instead of the silly if/elif/else construct.
        if user == 'remi':
            out = 'Remi Delon, CherryPy lead developer'
        elif user == 'hendrik':
            out = 'Hendrik Mans, CherryPy co-developer & crazy German'
        elif user == 'lorenzo':
            out = 'Lorenzo Lamas, famous actor and singer!'
        else:
            out = 'Unknown user. :-('

        return '%s (<a href="./">back</a>)' % out
Produce HTTP response body of the users app fallback URI.
cherrypy/tutorial/tut06_default_method.py