Gargi Jaiswal created HDDS-15591:
------------------------------------
Summary: S3 HeadObject should return Content-Type set on PutObject
Key: HDDS-15591
URL: https://issues.apache.org/jira/browse/HDDS-15591
Project: Apache Ozone
Issue Type: Sub-task
Components: S3
Reporter: Gargi Jaiswal
Assignee: Gargi Jaiswal
Mint {color:#de350b}{{aws-sdk-go-v2}} / {{testBasicObjectOperations}}{color}
fails on \{*}HeadObjec{*}t:
{code:java}
ContentType mismatch: expected 'text/plain', got 'binary/octet-stream'{code}
*PutObject* accepts {color:#00875a}{{Content-Type}} (e.g.
{{{}text/plain{}}}){color}, but *HeadObject* returns hardcoded
{color:#00875a}{{binary/octet-stream}}{color}{{ }}{{{color:#172b4d}this hits
the failure point.
[MINT test failure
link|https://ozone.s3.peterxcli.dev/?run=2026-06-16T07-50-35Z&caseSuite=mint&test=testBasicObjectOperations#latest-run-section]{color}}}
[MINT actual test
case|https://github.com/minio/mint/blob/12559d50625b722d11fd798ae8ac2fb204e66dd1/run/core/aws-sdk-go-v2/main.go#L2005-L2100]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]