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

This commit is contained in:
chenjianxing 2020-11-04 14:26:27 +08:00
parent 66fb90d8fb
commit 100625c8e0

View File

@ -1393,7 +1393,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;
}