1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00
rclone/cmd/serve
Nick Craig-Wood 85c29e3629 serve dlna: fix MIME type if backend can't identify it
If the server returns the MIME type as application/octet-stream we
assume it doesn't really know what the MIME type. This patch tries
matching the MIME type from the file extension instead in this case.

This enables the use of servers (like OneDrive for Business) which
don't allow the setting of MIME types on upload and have a poor
selection of mime types.

Fixes #7259
2023-09-01 18:09:44 +01:00
..
dlna serve dlna: fix MIME type if backend can't identify it 2023-09-01 18:09:44 +01:00
docker docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
ftp serve ftp: fix race condition when using the auth proxy 2023-08-23 15:11:47 +01:00
http docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
proxy docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
restic docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
servetest build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp serve sftp: fix hash calculations with --vfs-cache-mode full 2023-08-22 13:18:36 +01:00
webdav docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
serve.go docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00