def getResourceFor(self, request):
        request.site = self
        # Sitepath is used to determine cookie names between distributed
        # servers and disconnected sites.
        request.sitepath = copy.copy(request.prepath)
        return resource.getChildForRequest(self.resource, request)
Get a resource for a request.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/server.py/Site.getResourceFor