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
make directory lister trigger if mime type is httpd/unix-directory (#4169)
a0d085ec1759d
diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.goindex 06e4b72c80..58d1928c64 100644--- a/weed/server/filer_server_handlers_read.go+++ b/weed/server/filer_server_handlers_read.go@@ -15,6 +15,8 @@ import ("strings""time"+ "golang.org/x/exp/slices"+"github.com/seaweedfs/seaweedfs/weed/filer""github.com/seaweedfs/seaweedfs/weed/glog""github.com/seaweedfs/seaweedfs/weed/images"@@ -118,7 +120,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)writeJsonQuiet(w, r, http.StatusOK, entry)return}- if entry.Attr.Mime == "" {+ if slices.Contains([]string{"httpd/unix-directory", ""}, entry.Attr.Mime) {fs.listDirectoryHandler(w, r)return}