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
fix(s3api): make post api upload object default return 204 (#5648)
Lê Hoàng Nam1f2dc54647f8
diff --git a/weed/s3api/s3api_object_handlers_postpolicy.go b/weed/s3api/s3api_object_handlers_postpolicy.goindex cd80e0ad38..e77d734acb 100644--- a/weed/s3api/s3api_object_handlers_postpolicy.go+++ b/weed/s3api/s3api_object_handlers_postpolicy.go@@ -166,8 +166,10 @@ func (s3a *S3ApiServer) PostPolicyBucketHandler(w http.ResponseWriter, r *http.Rs3err.PostLog(r, http.StatusCreated, s3err.ErrNone)case "200":s3err.WriteEmptyResponse(w, r, http.StatusOK)+ case "204":+ s3err.WriteEmptyResponse(w, r, http.StatusNoContent)default:- writeSuccessResponseEmpty(w, r)+ s3err.WriteEmptyResponse(w, r, http.StatusNoContent)}}