fix: remove cookie in request headers

This commit is contained in:
debugtalk
2020-05-19 12:56:18 +08:00
parent 695e313aba
commit f0b03d09ab

View File

@@ -109,6 +109,9 @@ class HarParser(object):
"""
teststep_headers = {}
for header in entry_json["request"].get("headers", []):
if header["name"] == "cookie":
continue
teststep_headers[header["name"]] = header["value"]
if teststep_headers: