wsgidav.fs_dav_provider.FileResource.get_property_value

FileResource.get_property_value(name)

Return the value of a property.

name:

the property name in Clark notation.

return value:

may have different types, depending on the status:

  • string or unicode: for standard property values.

  • lxml.etree.Element: for complex values.

If the property is not available, a DAVError is raised.

This default implementation handles {DAV:}lockdiscovery and {DAV:}supportedlock using the associated lock manager.

All other live properties (i.e. name starts with {DAV:}) are delegated to the self.xxx() getters.

Finally, other properties are considered dead, and are handled by the associated property manager.