You can do this directly in the VSI's response meta-data.
for example:
msg.putTime=13480176
What type of headers are you trying to respond with ? RFH2 headers? if so, please see this communities post
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=796937
OR Use a response-side scriptable DPH:
import com.itko.util.ParameterList;
response = testExec.getStateObject("lisa.vse.response").get(0);
md = response.getMetaData();
//md.setParameterValue("msg.persistence","4");
md.setParameterValue("msg.characterSet","UTF-8");
// save the meta-data back to the response
//response.setMetaData(md);
lisa_vse_response.setMetaData(md);
hope this helps.
Thanks
Shiney Abraham