diff options
Diffstat (limited to 'examples/har_dump.py')
-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 4ab6b5a9..803a3249 100644 --- a/examples/har_dump.py +++ b/examples/har_dump.py @@ -135,7 +135,7 @@ def response(flow): else: entry["response"]["content"]["text"] = flow.response.content - if flow.request.method == "POST": + if flow.request.method in ["POST", "PUT", "PATCH"]: entry["request"]["postData"] = { "mimeType": flow.request.headers.get("Content-Type", "").split(";")[0], "text": flow.request.content, |