Set default json over REST reponse header

I have a project wich publishes many json over rest services. The default content-type of all the responses is "text/plain;charset=UTF-8". I want to set this to "application/json;charset=UTF-8" for all my services. The only way to do this seems to call the setResponseHeader java action at each microflow that handles a published service. Is there a way to change the default content-type for all my REST services?
0 answers