mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
parse -> parse_response in web app
This commit is contained in:
parent
33be5a72bf
commit
65aef81997
@ -58,7 +58,7 @@ def preview():
|
|||||||
error = None
|
error = None
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
r = rparse.parse(app.config["pathod"].request_settings, spec)
|
r = rparse.parse_response(app.config["pathod"].request_settings, spec)
|
||||||
except rparse.ParseException, v:
|
except rparse.ParseException, v:
|
||||||
args["syntaxerror"] = str(v)
|
args["syntaxerror"] = str(v)
|
||||||
args["marked"] = v.marked()
|
args["marked"] = v.marked()
|
||||||
|
Loading…
Reference in New Issue
Block a user