twisted.web.resource.IResource.putChild(path, child)
method documentationtwisted.web.resource.IResource
View Source
Put a child IResource implementor at the given path.
Parameters | path | A single path component, to be interpreted relative to the path this resource is found at, at which to put the given child. For example, if resource A can be found at http://example.com/foo then a call like A.putChild(b"bar", B) will make resource B available at http://example.com/foo/bar. (type: bytes ) |