diff options
-rw-r--r-- | examples/har_dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/har_dump.py b/examples/har_dump.py index efcf9d74..ab7bf1e1 100644 --- a/examples/har_dump.py +++ b/examples/har_dump.py @@ -140,7 +140,7 @@ def response(flow): for a, b in flow.request.urlencoded_form.items(multi=True) ] entry["request"]["postData"] = { - "mimeType": flow.request.headers.get("Content-Type", "").split(";")[0], + "mimeType": flow.request.headers.get("Content-Type", ""), "text": flow.request.get_text(strict=False), "params": params } |