mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix style
This commit is contained in:
parent
e31aa39fc2
commit
46d9cdd70a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user