Default status code for a post that results in an error should be 500 instead 
of 200
------------------------------------------------------------------------------------

                 Key: SLING-1628
                 URL: https://issues.apache.org/jira/browse/SLING-1628
             Project: Sling
          Issue Type: Improvement
          Components: API
    Affects Versions: API 2.0.8, API 2.0.6, API 2.0.4, API 2.0.2
            Reporter: Eric Norman
            Assignee: Eric Norman
            Priority: Minor
             Fix For: API 2.1.0


If a POST causes an unexpected exception and no status code has been set on the 
HtmlResponse object, then the default status code should be 500 to indicate 
that there was an error.  Previously, if no status code was set on the 
HtmlResponse object, the response was assumed to be successful and returned a 
200 status code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to