mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
fix 2794
This commit is contained in:
parent
baf4b5dc03
commit
e82641ee2d
@ -441,7 +441,7 @@ class Request(message.Message):
|
||||
This will overwrite the existing content if there is one.
|
||||
"""
|
||||
self.headers["content-type"] = "application/x-www-form-urlencoded"
|
||||
self.content = mitmproxy.net.http.url.encode(form_data, self.content.decode()).encode()
|
||||
self.content = mitmproxy.net.http.url.encode(form_data, self.get_text(strict=False)).encode()
|
||||
|
||||
@property
|
||||
def urlencoded_form(self):
|
||||
|
Loading…
Reference in New Issue
Block a user