Before this change, if the Content-Type for an object was read immediately after upload (before the object had been uploaded to the backing store) then the Content-Type would be returned incorrectly. This error would be more likely with `--vfs-cache-mode full` and `writes` but may have been possible with the other `--vfs-cache-mode`s. This fixes the problem by always returning a sensible guess at the content type - the same guess we would use for uploading the object. Fixes #6433 |
||
---|---|---|
.. | ||
dlna | ||
docker | ||
ftp | ||
http | ||
httplib | ||
proxy | ||
restic | ||
servetest | ||
sftp | ||
webdav | ||
serve.go |