diff options
author | Marcelo Glezer <mg@tekii.com.ar> | 2015-02-10 15:24:21 -0300 |
---|---|---|
committer | Marcelo Glezer <mg@tekii.com.ar> | 2015-02-10 15:24:21 -0300 |
commit | ba42984b593246b0105a077311e16a2ca71f79eb (patch) | |
tree | 59bee134e0d6b06aeb3c17f34ac08ec901d81511 /libmproxy/console/common.py | |
parent | e0c5f86b20aaeb4a28c725badb30cee6cbd2bd04 (diff) | |
download | mitmproxy-ba42984b593246b0105a077311e16a2ca71f79eb.tar.gz mitmproxy-ba42984b593246b0105a077311e16a2ca71f79eb.tar.bz2 mitmproxy-ba42984b593246b0105a077311e16a2ca71f79eb.zip |
added support for creating new requests. still wip (not working for https)
Diffstat (limited to 'libmproxy/console/common.py')
-rw-r--r-- | libmproxy/console/common.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index e4a4acba..a2cfd57b 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -17,6 +17,17 @@ VIEW_FLOW = 1 VIEW_FLOW_REQUEST = 0 VIEW_FLOW_RESPONSE = 1 +METHOD_OPTIONS = [ + ("get", "g"), + ("post", "p"), + ("put", "u"), + ("head", "h"), + ("trace", "t"), + ("delete", "d"), + ("options", "o"), + ("edit raw", "e"), +] + def highlight_key(s, k): l = [] |