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
skip if http.StatusNoContent
Chris Lu0b2a92d371e3
diff --git a/weed/server/common.go b/weed/server/common.goindex 2cd2276ebc..13d20d8798 100644--- a/weed/server/common.go+++ b/weed/server/common.go@@ -34,6 +34,10 @@ func init() {}func writeJson(w http.ResponseWriter, r *http.Request, httpStatus int, obj interface{}) (err error) {+ if httpStatus == http.StatusNoContent {+ return+ }+var bytes []byteif obj != nil {if r.FormValue("pretty") != "" {