[
https://issues.apache.org/jira/browse/SLING-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu closed SLING-1501.
----------------------------------
> JSONResponse doesn't set the status code on the response
> --------------------------------------------------------
>
> Key: SLING-1501
> URL: https://issues.apache.org/jira/browse/SLING-1501
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Post 2.1.0
> Reporter: Simon Gaeremynck
> Assignee: Vidar S. Ramdal
> Labels: jsonresponse, sling, statuscode
> Fix For: Servlets Post 2.1.0
>
> Attachments: jsonresponse.patch
>
>
> When we are doing POST operations we use the Accept header set to
> application/json so we get a json response back.
> However, when an operation fails for some reason, there is no status code set
> on the response. (It is defined in the json response itself though).
> This patch should set a status code.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)