[ 
https://issues.apache.org/jira/browse/HDDS-13258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18027941#comment-18027941
 ] 

Eric Chang commented on HDDS-13258:
-----------------------------------

Sorry for not responding to this issue for a long time, I'll continue on this 
issue.

> Refactor all HttpServletResponse#sendError usages to return JSON error 
> responses
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-13258
>                 URL: https://issues.apache.org/jira/browse/HDDS-13258
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Chu Cheng Li
>            Assignee: Eric Chang
>            Priority: Major
>
> As a follow-up to HDDS-13168, which replaced a direct call to 
> {{HttpServletResponse#sendError}} in {{CheckUploadContentTypeFilter}} with a 
> JSON error response written using the response writer, we should refactor all 
> other usages of {{sendError}} in Ozone to adopt the same approach.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to