From a7df6e1503551bf15c35252ffe39236221bae739 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 18 Feb 2012 14:45:22 +1300 Subject: 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. --- libmproxy/cmdline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/cmdline.py') 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( -- cgit v1.2.3