rclone/cmd/serve/webdav
Nick Craig-Wood b3217d2cac serve webdav: make Content-Type without reading the file and add --etag-hash
Before this change x/net/webdav would open each file to find out its
Content-Type.

Now we override the FileInfo and provide that directly from rclone.

An --etag-hash has also been implemented to override the ETag with the
hash passed in.

Fixes #2273
2018-08-26 21:50:41 +01:00
..
webdav_test.go serve webdav: make Content-Type without reading the file and add --etag-hash 2018-08-26 21:50:41 +01:00
webdav.go serve webdav: make Content-Type without reading the file and add --etag-hash 2018-08-26 21:50:41 +01:00