diff options
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/console/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index 540a96a3..ff820987 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -242,7 +242,7 @@ def ask_save_path(prompt, data): signals.status_prompt_path.send( prompt = prompt, callback = ask_save_overwrite, - args = (data, ) + args = (data, ) ) @@ -282,7 +282,7 @@ def copy_as_curl_command(flow): return None, "Request content is missing" headerString = "" - for k,v in flow.request.headers: + for k,v in flow.request.headers.fields: headerString += " -H '" + k + ":" + v + "' " data = "curl" |