aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-10-02 22:52:59 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-10-02 23:08:51 -0700
commit611dad12a7a94fd90619a2db44cd42aab922b4e2 (patch)
treea711c129346605794dacf60f86c6b293fbb24f95 /mitmproxy
parent19abb54919f0991dc7cc58d13327cb92da2aec63 (diff)
downloadmitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.tar.gz
mitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.tar.bz2
mitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.zip
Revert "Add API to programmatically create new requests (#1534)"
This reverts commit ccbdcd684b5a49c0509610a79dad3f220962a42d, which yielded a test timeout.
Diffstat (limited to 'mitmproxy')
-rw-r--r--mitmproxy/flow/master.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mitmproxy/flow/master.py b/mitmproxy/flow/master.py
index 14432357..80f633cd 100644
--- a/mitmproxy/flow/master.py
+++ b/mitmproxy/flow/master.py
@@ -187,10 +187,6 @@ class FlowMaster(controller.Master):
rt.join()
return rt
- def new_request(self, method, scheme, host, port, path, block=False):
- f = self.create_request(method, scheme, host, port, path)
- return self.replay_request(f, block)
-
@controller.handler
def log(self, l):
self.add_log(l.msg, l.level)