Attention
You are looking at outdated documentation for version 2.x. A newer version is available.
wsgidav.samples.virtual_dav_provider.CategoryCollection.getPreferredPath¶
-
CategoryCollection.
getPreferredPath
()¶ Return preferred mapping for a resource mapping.
- Different URLs may map to the same resource, e.g.:
- ‘/a/b’ == ‘/A/b’ == ‘/a/b/’
- getPreferredPath() returns the same value for all these variants, e.g.:
- ‘/a/b/’ (assuming resource names considered case insensitive)
@param path: a UTF-8 encoded, unquoted byte string. @return: a UTF-8 encoded, unquoted byte string.