- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewChecksumHeader (0.25 sec)
-
cmd/object-multipart-handlers.go
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return true } return checkPreconditionsPUT(ctx, w, r, oi, opts) } } checksumType := hash.NewChecksumHeader(r.Header) if checksumType.Is(hash.ChecksumInvalid) { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidChecksum), r.URL) return } else if checksumType.IsSet() && !checksumType.Is(hash.ChecksumTrailing) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0) -
cmd/object-handlers.go
} // Client can request that a different type of checksum is computed server-side for the // destination object using the x-amz-checksum-algorithm header. headerChecksumType := hash.NewChecksumHeader(r.Header) if headerChecksumType.IsSet() { dstOpts.WantServerSideChecksumType = headerChecksumType.Base() srcInfo.Reader.AddServerSideChecksumHasher(headerChecksumType) dstOpts.WantChecksum = nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0)