aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-06-03 18:57:46 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-06-03 18:57:46 +0200
commit46d9cdd70a80fb1164cfb8c9a715a98b48c84b75 (patch)
tree5fef87eeb4d32af90b93e029589f9b8b974aebcb
parente31aa39fc28645fe27646b1e6c6f7e876280ed69 (diff)
downloadmitmproxy-46d9cdd70a80fb1164cfb8c9a715a98b48c84b75.tar.gz
mitmproxy-46d9cdd70a80fb1164cfb8c9a715a98b48c84b75.tar.bz2
mitmproxy-46d9cdd70a80fb1164cfb8c9a715a98b48c84b75.zip
fix style
-rw-r--r--mitmproxy/web/app.py2
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):