wsgidav.samples.mysql_dav_provider.MySQLBrowserProvider¶
- class wsgidav.samples.mysql_dav_provider.MySQLBrowserProvider(host, user, passwd, db)[source]¶
Bases:
DAVProviderOptionally implement custom request handling.
MySQLBrowserProvider.exists(path, environ)Return True, if path maps to an existing resource.
MySQLBrowserProvider.get_resource_inst(path, ...)Return info dictionary for path.
MySQLBrowserProvider.is_collection(path, environ)Return True, if path maps to an existing collection resource.
MySQLBrowserProvider.ref_url_to_path(ref_url)Convert a refUrl to a path, by stripping the share prefix.
MySQLBrowserProvider.set_mount_path(mount_path)Set application root for this resource provider.
MySQLBrowserProvider.set_share_path(share_path)Set application location for this resource provider.