dart-webdav icon indicating copy to clipboard operation
dart-webdav copied to clipboard

To prevent overwriting a file allow sending headers with an upload

Open butonic opened this issue 5 years ago • 0 comments

If you want to prevent overwriting files that have been updated since the last time the file was retrieved we can use etags and the If-Match header. But to do that the upload method should pass on an optional Map of headers to the _send method (which can already does the right thing).

butonic avatar Nov 11 '20 22:11 butonic