'Same as :meth:`url_value_preprocessor` but application wide.'

def app_url_value_preprocessor(self, f):

    self.record_once((lambda s: s.app.url_value_preprocessors.setdefault(None, []).append(f)))
    return f
