diff options
-rw-r--r-- | mitmproxy/web/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/web/app.py b/mitmproxy/web/app.py index dce85df3..2ba97b8d 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): |