'Search in self.environ for additional user defined attributes.'

def __getattr__(self, name):

    try:
        var = self.environ[('bottle.request.ext.%s' % name)]
        return (var.__get__(self) if hasattr(var, '__get__') else var)
    except KeyError:
        raise AttributeError(('Attribute    %r    not    defined.' % name))
