'Look up the resource for the given request and render it.'

def remote_request(self, request):

    res = self.site.getResourceFor(request)
    log.msg(request)
    result = res.render(request)
    if (result is not server.NOT_DONE_YET):
        request.write(result)
        request.finish()
    return server.NOT_DONE_YET
