wsgidav.dav_provider.DAVProvider¶
-
class
wsgidav.dav_provider.
DAVProvider
[source]¶ Bases:
object
Abstract base class for DAV resource providers.
There will be only one DAVProvider instance per share (not per request).
DAVProvider.custom_request_handler
(environ, …)Optionally implement custom request handling. DAVProvider.exists
(path, environ)Return True, if path maps to an existing resource. DAVProvider.get_resource_inst
(path, environ)Return a _DAVResource object for path. DAVProvider.is_collection
(path, environ)Return True, if path maps to an existing collection resource. DAVProvider.is_readonly
()DAVProvider.ref_url_to_path
(ref_url)Convert a refUrl to a path, by stripping the share prefix. DAVProvider.set_lock_manager
(lock_manager)DAVProvider.set_mount_path
(mount_path)Set application root for this resource provider. DAVProvider.set_prop_manager
(prop_manager)DAVProvider.set_share_path
(share_path)Set application location for this resource provider.