tsui
10 years agoNew Contributor
Service V | Set header when a requested is received
Hi,
I am using ServiceV Pro's "Sample Virtualization Project" (RESTMockService) that is receiving HTTP POST requests with a content-type = application/octet-stream.
Before process the request I need to change this content-type to gzip.
In this link: http://www.soapui.org/scripting---properties/custom-event-handlers.html I saw that with events is possible to modify the header, however I am not sure if this solution can resolve my problem.
Can someone please help and let me know how I can change the content-type of the request received?
Thanks,
Tsui