You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/03/03 09:30:53 UTC

[jira] Issue Comment Edited: (SLING-292) µjax Post Servlet does not use correct HTTP status codes

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

fmeschbe edited comment on SLING-292 at 3/3/08 12:29 AM:
------------------------------------------------------------------

This is really a problem, but I consider it worse to send "ok" where in reality, the job has not been done. And in fact, the user is probably happier to see the "user-friendly" message telling something was wrong than being tricked into believing everything was fine and not reading the fine print.

      was (Author: fmeschbe):
    This is really a problem, but I consider it worth to send "ok" where in reality, the job has not been done. And in fact, the user is probably happier to see the "user-friendly" message telling something was wrong than being tricked into believing everything was fine and not reading the fine print.
  
> µ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.