diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-02-18 14:45:22 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-02-18 14:45:22 +1300 |
commit | a7df6e1503551bf15c35252ffe39236221bae739 (patch) | |
tree | 86b55ce06498f5ad347e8995b13a7419332240e5 /libmproxy/console/connview.py | |
parent | acdc2d00b4779a8c67107794a2bc66d66036c268 (diff) | |
download | mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.tar.gz mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.tar.bz2 mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.zip |
Refactor reverse proxying
- Retain the specification from the Host header as a Request's description.
- Expand upstream proxy specifications to include the scheme. We now say https://hostname:port
- Move the "R" revert keybinding to "v" to make room for a reverse proxy
binding that matches the command-line flag.
Diffstat (limited to 'libmproxy/console/connview.py')
-rw-r--r-- | libmproxy/console/connview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/console/connview.py b/libmproxy/console/connview.py index c9667ed2..7f0b0541 100644 --- a/libmproxy/console/connview.py +++ b/libmproxy/console/connview.py @@ -26,7 +26,7 @@ def _mkhelp(): ), ("p", "previous flow"), ("r", "replay request"), - ("R", "revert changes to request"), + ("V", "revert changes to request"), ("v", "view body in external viewer"), ("w", "save all flows matching current limit"), ("W", "save this flow"), @@ -513,7 +513,7 @@ class ConnectionView(common.WWrap): if r: self.master.statusbar.message(r) self.master.refresh_connection(self.flow) - elif key == "R": + elif key == "V": self.state.revert(self.flow) self.master.refresh_connection(self.flow) elif key == "W": |