rich7420 opened a new pull request, #11543: URL: https://github.com/apache/ozone/pull/11543
## What changes were proposed in this pull request? Introduce `S3ContentSha256Type` to centralize `x-amz-content-sha256` classification for upload streams, digests and chunk-signature verification. Replace repeated string checks in `EndpointBase` and remove the corresponding `S3Utils` helpers. Preserve exact header matching, the fallback for unrecognized `STREAMING*` values, and validation order. The raw header used for signing remains unchanged. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15139 ## How was this patch tested? - [Full fork CI](https://github.com/rich7420/ozone/actions/runs/38307881045) passed at `00c593a184`. - [10×10 flaky-test check](https://github.com/rich7420/ozone/actions/runs/38473594287) passed for `TestS3ContentSha256Type` and `TestObjectPut` at the same commit. - Endpoint unit tests cover stream and digest selection, header/query authentication, unknown headers, and trailer validation order. These use client stubs rather than HTTP canonicalization or a cluster. Generated-by: Codex (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
