aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
diff options
context:
space:
mode:
authorMarcelo Glezer <marcelo.glezer@gmail.com>2015-02-12 01:52:13 -0300
committerMarcelo Glezer <marcelo.glezer@gmail.com>2015-02-12 01:52:13 -0300
commit71a58289e27bed18ca40bd9e62d67cff10467dc0 (patch)
tree6555e264c482c95800e8a973bcc7246c2eddc83e /libmproxy
parentfbba6bfe06c79c44ef1947baeb3344dccc8aa483 (diff)
downloadmitmproxy-71a58289e27bed18ca40bd9e62d67cff10467dc0.tar.gz
mitmproxy-71a58289e27bed18ca40bd9e62d67cff10467dc0.tar.bz2
mitmproxy-71a58289e27bed18ca40bd9e62d67cff10467dc0.zip
less is more
Diffstat (limited to 'libmproxy')
-rw-r--r--libmproxy/flow.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 1870761f..3c5ac1fe 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -766,9 +766,7 @@ class FlowMaster(controller.Master):
def create_request(self, method, scheme, host, port, path):
"""
- Creates a new request from params and add it to flow list.
- created request is empty (except for method and url) but is able
- to be replayed
+ this method creates a new artificial and minimalist request also adds it to flowlist
"""
c = ClientConnection.from_state(dict(
address=dict(address=(host, port), use_ipv6=False),