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

Eric Norman commented on SLING-9991:
------------------------------------

[~cziegeler] It looks to me that the PostResponseWithErrorHandling 
implementation is hardcoded to an HtmlResponse when the ":sendError" parameter 
is "true".  This seems to break the use cases where a Json response is expected 
and there was no error to send.

> Parameter ":sendError"  uses/significance should be listed in the sling 
> document
> --------------------------------------------------------------------------------
>
>                 Key: SLING-9991
>                 URL: https://issues.apache.org/jira/browse/SLING-9991
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Akanksha Jain
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>
> The parameter ":sendError" is used by the sling error handler to delegate 
> HTTP Post response to the custom error handler.
> This Parameter should be listed in the document[0], along with other special 
> parameters for better understanding.
> [0]: 
> https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html#special-parameters-1



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

Reply via email to