From d7ef6315aea1a72f0c55828b6d6a19f915382647 Mon Sep 17 00:00:00 2001 From: Mark Theunissen Date: Mon, 2 Sep 2024 23:13:54 +1000 Subject: [PATCH] Store the checksum in PostPolicyHandler so that we can return it on Get/Head (#20364) --- cmd/bucket-handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index 13bed4ab8..7aa7e2f51 100644 --- a/cmd/bucket-handlers.go +++ b/cmd/bucket-handlers.go @@ -1200,6 +1200,7 @@ func (api objectAPIHandlers) PostPolicyBucketHandler(w http.ResponseWriter, r *h writeErrorResponseHeadersOnly(w, toAPIError(ctx, err)) return } + opts.WantChecksum = checksum fanOutOpts := fanOutOptions{Checksum: checksum}