Gargi Jaiswal created HDDS-15258:
------------------------------------
Summary: Include x-amz-tagging-count header in HEAD object tagging
responses
Key: HDDS-15258
URL: https://issues.apache.org/jira/browse/HDDS-15258
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Gargi Jaiswal
Assignee: Gargi Jaiswal
Currently, the Ozone S3 Gateway does not return the{color:#de350b}
{{x-amz-tagging-count}}{color} header when a *{{HEAD}}* request is made against
an object.
Per the AWS S3 specification, this header should indicate the total number of
tags associated with the object. This causes failures in compatibility suites
like *{{s3-tests}} (specifically {{{}test_get_obj_head_tagging{}}}).*
*Proposed Fix:* > Modify the *_{{ObjectEndpoint.head()}}_* method to retrieve
the tag set for the requested object. If tags exist, count them and append the
{{x-amz-tagging-count}} header to the HTTP response.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]