[
https://issues.apache.org/jira/browse/SLING-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574375#action_12574375
]
Felix Meschberger commented on SLING-292:
-----------------------------------------
Re Tobias [1]:
In this case having a 200/OK status irrespective of the actual outcome is a
specific application use case and not a general case. Therefore I suggest we
add an indication as to whether status codes should be returned as is (that is
500 in case of problems, 40? in case of access control issues) or as 200
regardless of the outcome.
[1]
https://issues.apache.org/jira/browse/SLING-292?focusedCommentId=12573873#action_12573873
> µjax Post Servlet does not use correct HTTP status codes
> --------------------------------------------------------
>
> Key: SLING-292
> URL: https://issues.apache.org/jira/browse/SLING-292
> Project: Sling
> Issue Type: Bug
> Components: ujax
> Reporter: Lars Trieloff
>
> The µjax Post Servlet does not use correct HTTP status codes when trying to
> write nodes without permissions. Expected status code is 403 (forbidden), if
> no user is logged in (no credentials in the request), status code 401 might
> be more appropriate
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.