mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
parse -> parse_response in web app
This commit is contained in:
@@ -58,7 +58,7 @@ def preview():
|
||||
error = None
|
||||
)
|
||||
try:
|
||||
r = rparse.parse(app.config["pathod"].request_settings, spec)
|
||||
r = rparse.parse_response(app.config["pathod"].request_settings, spec)
|
||||
except rparse.ParseException, v:
|
||||
args["syntaxerror"] = str(v)
|
||||
args["marked"] = v.marked()
|
||||
|
||||
Reference in New Issue
Block a user