wsgidav.util.get_file_etag¶
- wsgidav.util.get_file_etag(file_path)[source]¶
Return a strong, unquoted Entity Tag for a (file)path.
http://www.webdav.org/specs/rfc4918.html#etag
Returns the following as entity tags:
Non-file - md5(pathname) Win32 - md5(pathname)-lastmodifiedtime-filesize Others - inode-lastmodifiedtime-filesize