Fix in ApplicationRestApiController: when there is a raw content, the status code was not set