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.
Optionally implement custom request handling.
VirtualResourceProvider.exists
(path, environ)Return True, if path maps to an existing resource.
Return _VirtualResource object for path.
VirtualResourceProvider.is_collection
(path, ...)Return True, if path maps to an existing collection resource.
Convert a refUrl to a path, by stripping the share prefix.
Set application root for this resource provider.
Set application location for this resource provider.