Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.util.shiftPath

wsgidav.util.shiftPath(scriptName, pathInfo)[source]

Return (‘/a’, ‘/b/c’) -> (‘b’, ‘/a/b’, ‘c’).