aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/web/app.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-13 01:56:04 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-13 01:56:04 +0100
commit955c5c87a261ad4083e4b3f1579625a2b53eb912 (patch)
treec33ab7eb3be5865d1ea38768d3404db524f4413e /libmproxy/web/app.py
parenta09eb2bef42e241c6ff1698606f4a0decbca174a (diff)
downloadmitmproxy-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.py4
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"),