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
check Accept instead of content type
Chris Lue61c9af523ec
diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.goindex 5bd59b23fb..e95c7fcd0e 100644--- a/weed/server/filer_server_handlers_read.go+++ b/weed/server/filer_server_handlers_read.go@@ -74,8 +74,8 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.RequelastFileName,shouldDisplayLoadMore,}-- if strings.ToLower(r.Header.Get("Content-Type")) == "application/json" {++ if r.Header.Get("Accept") == "application/json" {writeJsonQuiet(w, r, http.StatusOK, args)} else {ui.StatusTpl.Execute(w, args)