Attention

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

wsgidav.samples.virtual_dav_provider.VirtualResourceProvider

class wsgidav.samples.virtual_dav_provider.VirtualResourceProvider[source]

Bases: wsgidav.dav_provider.DAVProvider

DAV provider that serves a VirtualResource derived structure.

VirtualResourceProvider.customRequestHandler(…) Optionally implement custom request handling.
VirtualResourceProvider.exists(path, environ) Return True, if path maps to an existing resource.
VirtualResourceProvider.getResourceInst(…) Return _VirtualResource object for path.
VirtualResourceProvider.isCollection(path, …) Return True, if path maps to an existing collection resource.
VirtualResourceProvider.isReadOnly()
VirtualResourceProvider.refUrlToPath(refUrl) Convert a refUrl to a path, by stripping the share prefix.
VirtualResourceProvider.setLockManager(…)
VirtualResourceProvider.setMountPath(mountPath) Set application root for this resource provider.
VirtualResourceProvider.setPropManager(…)
VirtualResourceProvider.setSharePath(sharePath) Set application location for this resource provider.