F64116045 commented on code in PR #11031:
URL: https://github.com/apache/ozone/pull/11031#discussion_r3795619640


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/exception/OS3ExceptionMapper.java:
##########
@@ -45,6 +46,7 @@ public Response toResponse(OS3Exception exception) {
     }
     exception.setRequestId(requestIdentifier.getRequestId());
     return Response.status(exception.getHttpCode())
+        .type(MediaType.APPLICATION_XML_TYPE)

Review Comment:
   Oops, I missed that the curl request stops at `AuthorizationFilter` and 
never reaches `OS3ExceptionMapper`.
   Thanks a lot for catching this!



-- 
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]

Reply via email to