AnsweredAssumed Answered

How to fix resourcedata Content-Type?

Question asked by zloy on Jun 22, 2015
Latest reply on Jun 30, 2015 by jbarrez
Hi,
I got a resource:


{"id"=>"vacation1.yml", "url"=>"http://our.stage.server/activiti-rest/service/repository/deployments/98370/resources/vacation1.yml", "contentUrl"=>"http://our.stage.server/activiti-rest/service/repository/deployments/98370/resourcedata/vacation1.yml", "mediaType"=>nil, "type"=>"resource"}


It has <b>nil</b> mediaType attribute, and its content is pure haml.

When I try to get its content I receive a response with Content-Type set to 'application/json'. Why? And is there a way to influence it?

Outcomes