fix(接口测试): 请求头设置失效
This commit is contained in:
parent
bd577770a4
commit
12f994a57f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue