diff --git a/examples/har_dump.py b/examples/har_dump.py index efcf9d74b..ab7bf1e14 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 }