Housekeeping: todo updates, move put handler_ methods together in console.py.
This commit is contained in:
parent
ba92d22e1d
commit
fbe6e0a820
|
@ -1096,6 +1096,16 @@ class ConsoleMaster(controller.Master):
|
|||
if hasattr(self.statusbar, "refresh_connection"):
|
||||
self.statusbar.refresh_connection(c)
|
||||
|
||||
def process_flow(self, f, r):
|
||||
if f.match(self.state.beep):
|
||||
urwid.curses_display.curses.beep()
|
||||
if f.match(self.state.intercept) and not f.is_replay():
|
||||
f.intercept()
|
||||
else:
|
||||
r.ack()
|
||||
self.sync_list_view()
|
||||
self.refresh_connection(f)
|
||||
|
||||
# Handlers
|
||||
def handle_browserconnection(self, r):
|
||||
f = Flow(r)
|
||||
|
@ -1111,16 +1121,6 @@ class ConsoleMaster(controller.Master):
|
|||
self.sync_list_view()
|
||||
self.refresh_connection(f)
|
||||
|
||||
def process_flow(self, f, r):
|
||||
if f.match(self.state.beep):
|
||||
urwid.curses_display.curses.beep()
|
||||
if f.match(self.state.intercept) and not f.is_replay():
|
||||
f.intercept()
|
||||
else:
|
||||
r.ack()
|
||||
self.sync_list_view()
|
||||
self.refresh_connection(f)
|
||||
|
||||
def handle_request(self, r):
|
||||
f = self.state.add_request(r)
|
||||
if not f:
|
||||
|
|
8
todo
8
todo
|
@ -1,6 +1,6 @@
|
|||
|
||||
Future:
|
||||
|
||||
|
||||
- Strings view.
|
||||
- Field parsing and editing.
|
||||
- On-the-fly generation of keys, signed with a CA
|
||||
|
@ -10,7 +10,11 @@ Future:
|
|||
- Serializing and de-serializing requests and responses.
|
||||
- Use real non-blocking input handling to minimize cpu load.
|
||||
- Upstream proxies.
|
||||
|
||||
- mitmdump
|
||||
- Filters
|
||||
- Sticky cookies
|
||||
- Pipe to script
|
||||
- After we add serialization of flows, command-line replay
|
||||
|
||||
Bugs:
|
||||
|
||||
|
|
Loading…
Reference in New Issue