fix(接口测试): 请求头设置失效

This commit is contained in:
chenjianxing 2020-11-04 14:26:27 +08:00
parent bd577770a4
commit 12f994a57f
1 changed files with 0 additions and 1 deletions

View File

@ -1374,7 +1374,6 @@ class JMXGenerator {
for (let index in request.headers) {
if (request.headers.hasOwnProperty(index)) {
if (request.headers[index].name === 'Content-Type' && request.headers[index].enable != false) {
request.headers.splice(index, 1);
hasContentType = true;
break;
}