I think what ellma10 is saying is that you could use a script to check the Live Response for a "Content-Type" parameter and, if not found, add one of your choosing. If Content-Type is in the parm list, DT would not override it with a different value.
Done as a Scripted Assertion in the Live Invo step, with FAIL on False, it might look like this:
import com.itko.util.ParameterList;
import com.itko.lisa.vse.stateful.model.TransientResponse;
// get the live response and the metaData
TransientResponse tr = testExec.getStateObject("lisa.vse.live.response").get(0);
ParameterList metadata = tr.getMetaData();
if ( metadata.containsKey("Content-Type") ) {
// do nothing, Live provided one
} else {
// add a content-type to the response
metadata.addParameters("Content-Type=application/json");
testExec.getStateObject("lisa.vse.live.response").get(0).setMetaData( metadata );
}
return true;