74
77
"""Return the full url to the given relative path.
75
78
This can be supplied with a string or a list
78
80
if isinstance(relpath, basestring):
90
82
basepath = self._path.split('/')
91
83
if len(basepath) > 0 and basepath[-1] == '':
96
89
# In most filesystems, a request for the parent
97
90
# of root, just returns root.
104
99
# Possibly, we could use urlparse.urljoin() here, but
105
100
# I'm concerned about when it chooses to strip the last
106
101
# portion of the path, and when it doesn't.