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/cmdline.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/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index e7ca1bcf..d9efe0c2 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -66,7 +66,7 @@ def common_options(parser): ) parser.add_option( "-R", - action="store", dest="reverse_upstream", default=None, + action="store", dest="reverse_proxy", default=None, help="Reverse proxy: upstream server host:port" ) parser.add_option( |