1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-11 05:43:15 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Nick Craig-Wood
9ea209a9ab webdav: fix DirMove for bitrix - FIXME DO NOT MERGE
This implements a workaround to enable DirMove for bitrix to work.

This is an apparently non RFC compliant change.

See: https://forum.rclone.org/t/cant-manage-folders-using-bitrix-webdav-under-windows/23073
2021-03-29 19:32:09 +01:00

View File

@@ -1067,7 +1067,7 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string
Path: addSlash(srcPath), Path: addSlash(srcPath),
NoResponse: true, NoResponse: true,
ExtraHeaders: map[string]string{ ExtraHeaders: map[string]string{
"Destination": addSlash(destinationURL.String()), "Destination": destinationURL.String(),
"Overwrite": "F", "Overwrite": "F",
}, },
} }