Sling
  1. Sling
  2. SLING-1501

JSONResponse doesn't set the status code on the response

    Details

      Description

      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.

      1. jsonresponse.patch
        4 kB
        Simon Gaeremynck

        Activity

          People

          • Assignee:
            Vidar S. Ramdal
            Reporter:
            Simon Gaeremynck
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development