wsgidav.samples.dav_provider_tools.FileResource.get_display_name

FileResource.get_display_name()

Provides a name for the resource that is suitable for presentation to a user.

The displayname property should be defined on all DAV compliant resources. If present, the property contains a description of the resource that is suitable for presentation to a user.

This default implementation returns name, which is the last path segment.