wsgidav.samples.mongo_dav_provider.MongoResourceProvider¶
- class wsgidav.samples.mongo_dav_provider.MongoResourceProvider(options)[source]¶
Bases:
wsgidav.dav_provider.DAVProvider
DAV provider that serves a MongoDB structure.
Optionally implement custom request handling.
MongoResourceProvider.exists
(path, environ)Return True, if path maps to an existing resource.
Return DAVResource object for path.
MongoResourceProvider.is_collection
(path, ...)Return True, if path maps to an existing collection resource.
Convert a refUrl to a path, by stripping the share prefix.
MongoResourceProvider.set_mount_path
(mount_path)Set application root for this resource provider.
MongoResourceProvider.set_share_path
(share_path)Set application location for this resource provider.