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
s3: fix aws s3api head-object
chrislu7457c746f0cc
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.goindex 05908a30a3..75abd0e4d0 100644--- a/weed/s3api/s3api_object_handlers.go+++ b/weed/s3api/s3api_object_handlers.go@@ -358,9 +358,11 @@ func (s3a *S3ApiServer) proxyToFiler(w http.ResponseWriter, r *http.Request, desreturn}- if (resp.ContentLength == -1 || resp.StatusCode == 404) && resp.StatusCode != 304 {- if r.Method != "DELETE" {- s3err.WriteErrorResponse(w, r, s3err.ErrNoSuchKey)+ if r.Method == "DELETE" {+ if resp.StatusCode == http.StatusNotFound {+ // this is normal+ responseStatusCode := responseFn(resp, w)+ s3err.PostLog(r, responseStatusCode, s3err.ErrNone)return}}