mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 04:59:48 +08:00
fix(接口测试): 请求头设置失效
This commit is contained in:
parent
66fb90d8fb
commit
100625c8e0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user