diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-04-08 00:20:37 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-04-08 00:20:37 +0200 |
commit | e7b154c823af60c1aaf008858c637621ca562895 (patch) | |
tree | 9380432f9022389a814fe76a363d0d6dd6838329 /libmproxy/flow.py | |
parent | 2242c671fd53a5a5a864bcdc085a2207018fd5f0 (diff) | |
parent | b961f9e599453a6116b9b2dffb73dc5b45917f80 (diff) | |
download | mitmproxy-e7b154c823af60c1aaf008858c637621ca562895.tar.gz mitmproxy-e7b154c823af60c1aaf008858c637621ca562895.tar.bz2 mitmproxy-e7b154c823af60c1aaf008858c637621ca562895.zip |
Merge branch 'master' of github.com:mitmproxy/mitmproxy
Diffstat (limited to 'libmproxy/flow.py')
-rw-r--r-- | libmproxy/flow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py index eb8ee16a..680b6a20 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -736,7 +736,7 @@ class FlowMaster(controller.Master): ignore_payload_params: list of content params to ignore in server replay ignore_host: true if request host should be ignored in server replay """ - self.server_playback = ServerPlaybackState(headers, flows, exit, nopop, + self.server_playback = ServerPlaybackState(headers, flows, exit, nopop, ignore_params, ignore_content, ignore_payload_params, ignore_host) self.kill_nonreplay = kill @@ -786,7 +786,7 @@ class FlowMaster(controller.Master): def create_request(self, method, scheme, host, port, path): """ 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), clientcert=None @@ -802,7 +802,7 @@ class FlowMaster(controller.Master): )) f = http.HTTPFlow(c,s); headers = ODictCaseless() - + req = http.HTTPRequest("absolute", method, scheme, host, port, path, (1, 1), headers, None, None, None, None) f.request = req |