diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-12-13 01:56:04 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-12-13 01:56:04 +0100 |
commit | 955c5c87a261ad4083e4b3f1579625a2b53eb912 (patch) | |
tree | c33ab7eb3be5865d1ea38768d3404db524f4413e /libmproxy/web/app.py | |
parent | a09eb2bef42e241c6ff1698606f4a0decbca174a (diff) | |
download | mitmproxy-955c5c87a261ad4083e4b3f1579625a2b53eb912.tar.gz mitmproxy-955c5c87a261ad4083e4b3f1579625a2b53eb912.tar.bz2 mitmproxy-955c5c87a261ad4083e4b3f1579625a2b53eb912.zip |
web: filter/highlight ui, many fixes
Diffstat (limited to 'libmproxy/web/app.py')
-rw-r--r-- | libmproxy/web/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index e832f724..37da4a42 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -54,7 +54,7 @@ class Settings(tornado.web.RequestHandler): )) -class FlowClear(tornado.web.RequestHandler): +class Clear(tornado.web.RequestHandler): def post(self): self.application.state.clear() @@ -72,7 +72,7 @@ class Application(tornado.web.Application): (r"/events", Events), (r"/flows", Flows), (r"/settings", Settings), - (r"/flows/clear", FlowClear), + (r"/clear", Clear), ] settings = dict( template_path=os.path.join(os.path.dirname(__file__), "templates"), |