def resolve(self, script_name, path_info):
if path_info in ("<STR_LIT>", "<STR_LIT:/>"):<EOL><INDENT>return self<EOL><DEDENT>assert path_info.startswith("<STR_LIT:/>")<EOL>name, rest = util.pop_path(path_info)<EOL>res = self.get_member(name)<EOL>if res is None or rest in ("<STR_LIT>", "<STR_LIT:/>"):<EOL><INDENT>return res<EOL><DEDENT>return res.resolve(util.join_uri(script_name, name), rest)<EOL>
Return a _DAVResource object for the path (None, if not found).

        `path_info`: is a URL relative to this object.