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
Status PartialContent for Content-Range response
Konstantin Lebedev3a3699867b0f
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.goindex 610daef9f1..2b6b80f905 100644--- a/weed/s3api/s3api_object_handlers.go+++ b/weed/s3api/s3api_object_handlers.go@@ -326,7 +326,11 @@ func passThroughResponse(proxyResponse *http.Response, w http.ResponseWriter) {for k, v := range proxyResponse.Header {w.Header()[k] = v}- w.WriteHeader(proxyResponse.StatusCode)+ if proxyResponse.Header.Get("Content-Range") != "" && proxyResponse.StatusCode == 200 {+ w.WriteHeader(http.StatusPartialContent)+ } else {+ w.WriteHeader(proxyResponse.StatusCode)+ }io.Copy(w, proxyResponse.Body)}