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 error response in case of wrong expire time format
rootb7e34016d49a
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.goindex 4d6c18a78e..190045517a 100644--- a/weed/s3api/s3api_object_handlers.go+++ b/weed/s3api/s3api_object_handlers.go@@ -63,7 +63,7 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request)if r.Header.Get("Expires") != "" {if _, err = time.Parse(http.TimeFormat, r.Header.Get("Expires")); err != nil {- s3err.WriteErrorResponse(w, r, s3err.ErrInvalidDigest)+ s3err.WriteErrorResponse(w, r, s3err.ErrMalformedExpires)return}}