Merge pull request #1661 from slobo/patch-1

Include `boudary=...` in mutipart postData
This commit is contained in:
Maximilian Hils 2016-10-24 19:19:46 -07:00 committed by GitHub
commit ee8c7b31ab

View File

@ -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
}