rclone/cmd/serve/webdav
Nick Craig-Wood 29b1751d0e serve webdav: fix error: Expecting fs.Object or fs.Directory, got <nil>
Before this change rclone serve webdav would sometimes give this error

    Expecting fs.Object or fs.Directory, got <nil>

It turns out that when a file is being updated it doesn't have a
DirEntry and it is allowed to be <nil> so in this case we create the
mime type from the extension.

See: https://forum.rclone.org/t/webdav-union-of-onedrive-expecting-fs-object-or-fs-directory-got-nil/40298
2023-07-28 00:54:45 +01:00
..
testdata/golden serve http, serve webdav: Added a --template flag for user defined markup 2020-05-04 17:36:31 +00:00
webdav.go serve webdav: fix error: Expecting fs.Object or fs.Directory, got <nil> 2023-07-28 00:54:45 +01:00
webdav_test.go serve webdav: implement owncloud checksum and modtime extensions 2023-05-15 15:38:00 +01:00