Rest call contains incorrect mimetype for resource service

Description

Calling the REST API service for a resource always returns the mime type "application/json"

URL
/service/deployment/1/resource/process.bpmn20.xml
This should return "text/xml"

URL
/service/deployment/1/resource/process.process.png
This should return "image/png"

Environment

None

Assignee

Tijs Rademakers

Reporter

Robert McKinnon

Labels

None

Fix versions

Affects versions

Priority

Major
Configure