mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Use signals.status_message for empty content
This commit is contained in:
parent
0bb13c61d6
commit
1079e00641
@ -282,7 +282,8 @@ def export_prompt(k, flow):
|
||||
|
||||
def copy_as_curl_command(flow):
|
||||
if flow.request.content is None or flow.request.content == CONTENT_MISSING:
|
||||
return None, "Request content is missing"
|
||||
signals.status_message.send(message="Request content is missing")
|
||||
return
|
||||
|
||||
data = "curl "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user