fun LastModifiedVersion(lastModified: Date): LastModifiedVersion

This version passes the given lastModified date through the client provided http conditional headers If-Modified-Since and If-Unmodified-Since.

Notice the second precision so it may work wrong if there were few changes during the same second.

For better behaviour use etag instead

See and



of the current content, for example file's last modified date