SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Better guessing mime type with octstream
Chris Lud7f6af09e626
diff --git a/go/weed/weed_server/volume_server_handlers.go b/go/weed/weed_server/volume_server_handlers.goindex 70c1d70d55..ee57109ea8 100644--- a/go/weed/weed_server/volume_server_handlers.go+++ b/go/weed/weed_server/volume_server_handlers.go@@ -102,7 +102,10 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)mtype = mime.TypeByExtension(ext)}if n.MimeSize > 0 {- mtype = string(n.Mime)+ mt := string(n.Mime)+ if mt != "application/octet-stream" {+ mtype = mt+ }}if mtype != "" {w.Header().Set("Content-Type", mtype)