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

Eric Norman commented on SLING-10021:
-------------------------------------

I prepared a fix in the PR at: 
[https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/14] 

If there is no negative feedback in a few days then I will merge the fix into 
the mainline.

> The DefaultErrorHandlerServlet should consider the 'Accept' header
> ------------------------------------------------------------------
>
>                 Key: SLING-10021
>                 URL: https://issues.apache.org/jira/browse/SLING-10021
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Servlets Resolver 2.7.14
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The  DefaultErrorHandlerServlet should properly consider the 'Accept' header 
> conditions to decide whether to send the error details back as json or html.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to