Hi,
I want to modify the response body value which is stream, but failed.
The stream value is just like MP4, the ascii of head data is "00 00 00 20 66 74 79 70 69 73 6F 6D...".
And I planed to modify them to "FE FE FE FE FE FE FE ....". But when I check the sent data, I found them were changed to "C3 BE C3 BE C3 BE C3 BE C3 BE C3 BE ..."
The following is my JScript code:
var oBody;
oBody = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe";
oSession.utilReplaceRegexInResponse("ftypisom.*",oBody);
// oSession.utilSetResponseBody(oBody); // I tried this but failed too...
How could I set response body to any ascii.
Thanks :)