dart-webdav
dart-webdav copied to clipboard
To prevent overwriting a file allow sending headers with an upload
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).