mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
webdav: added an rclone vendor to work with rclone serve webdav
Fixes #7160
This commit is contained in:
@@ -91,6 +91,9 @@ func init() {
|
||||
}, {
|
||||
Value: "sharepoint-ntlm",
|
||||
Help: "Sharepoint with NTLM authentication, usually self-hosted or on-premises",
|
||||
}, {
|
||||
Value: "rclone",
|
||||
Help: "rclone WebDAV server to serve a remote over HTTP via the WebDAV protocol",
|
||||
}, {
|
||||
Value: "other",
|
||||
Help: "Other site/service or software",
|
||||
@@ -644,6 +647,10 @@ func (f *Fs) setQuirks(ctx context.Context, vendor string) error {
|
||||
// so we must perform an extra check to detect this
|
||||
// condition and return a proper error code.
|
||||
f.checkBeforePurge = true
|
||||
case "rclone":
|
||||
f.canStream = true
|
||||
f.precision = time.Second
|
||||
f.useOCMtime = true
|
||||
case "other":
|
||||
default:
|
||||
fs.Debugf(f, "Unknown vendor %q", vendor)
|
||||
|
||||
Reference in New Issue
Block a user