mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Merge pull request #1661 from slobo/patch-1
Include `boudary=...` in mutipart postData
This commit is contained in:
commit
ee8c7b31ab
@ -140,7 +140,7 @@ def response(flow):
|
|||||||
for a, b in flow.request.urlencoded_form.items(multi=True)
|
for a, b in flow.request.urlencoded_form.items(multi=True)
|
||||||
]
|
]
|
||||||
entry["request"]["postData"] = {
|
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),
|
"text": flow.request.get_text(strict=False),
|
||||||
"params": params
|
"params": params
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user