(self, path)
Call a dispatcher (which sets self.handler and .config). (Core)
Call a dispatcher (which sets self.handler and .config). (Core)
Call a dispatcher ( which sets self . handler and . config ) . ( Core )
def get_resource(self, path):
        """Call a dispatcher (which sets self.handler and .config). (Core)"""
        # First, see if there is a custom dispatch at this URI. Custom
        # dispatchers can only be specified in app.config, not in _cp_config
        # (since custom dispatchers may not even have an app.root).
        dispatch = self.app.find_config(
            path, 'request.dispatch', self.dispatch)

        # dispatch() should set self.handler and self.config
        dispatch(path)
def get_resource ( self , path ) : # First, see if there is a custom dispatch at this URI. Custom # dispatchers can only be specified in app.config, not in _cp_config # (since custom dispatchers may not even have an app.root). dispatch = self . app . find_config ( path , 'request.dispatch' , self . dispatch ) # dispatch() should set self.handler and self.config dispatch ( path )