enapps-enorman opened a new pull request #8:
URL: https://github.com/apache/sling-org-apache-sling-servlets-post/pull/8


   The PostResponseWithErrorHandling implementation was hardcoded to an 
HtmlResponse when the ":sendError" parameter is "true".  This breaks the use 
cases where a Json response is expected.
   
   This change deprecates and stops loading the PostResponseWithErrorHandling 
component and re-implements that feature by  wrapping whichever PostResponse 
object is calculated.  The error sending behavior is overridden and the rest of 
the calls pass through to the wrapped PostResponse instance.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to