wsgidav.samples.dav_provider_tools.FileResource.get_etag

FileResource.get_etag()

See http://www.webdav.org/specs/rfc4918.html#PROPERTY_getetag

This method SHOULD be implemented, especially by non-collections. Return None if not supported for this resource instance. See also DAVNonCollection.support_etag() and util.get_file_etag(path).