From 46d9cdd70a80fb1164cfb8c9a715a98b48c84b75 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Fri, 3 Jun 2016 18:57:46 +0200 Subject: [PATCH] fix style --- mitmproxy/web/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mitmproxy/web/app.py b/mitmproxy/web/app.py index dce85df38..2ba97b8d8 100644 --- a/mitmproxy/web/app.py +++ b/mitmproxy/web/app.py @@ -161,6 +161,7 @@ class Flows(RequestHandler): data=[_strip_content(f.get_state()) for f in self.state.flows] )) + class DumpFlows(RequestHandler): def get(self): self.set_header("Content-Disposition", "attachment; filename=flows") @@ -182,6 +183,7 @@ class DumpFlows(RequestHandler): self.state.load_flows(FlowReader(bio).stream()) bio.close() + class ClearAll(RequestHandler): def post(self):