aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/modes/http_proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/proxy/modes/http_proxy.py')
-rw-r--r--libmproxy/proxy/modes/http_proxy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmproxy/proxy/modes/http_proxy.py b/libmproxy/proxy/modes/http_proxy.py
index c7502c24..e19062b9 100644
--- a/libmproxy/proxy/modes/http_proxy.py
+++ b/libmproxy/proxy/modes/http_proxy.py
@@ -4,6 +4,7 @@ from ...protocol import Layer, ServerConnectionMixin
class HttpProxy(Layer, ServerConnectionMixin):
+
def __call__(self):
layer = self.ctx.next_layer(self)
try:
@@ -14,6 +15,7 @@ class HttpProxy(Layer, ServerConnectionMixin):
class HttpUpstreamProxy(Layer, ServerConnectionMixin):
+
def __init__(self, ctx, server_address):
super(HttpUpstreamProxy, self).__init__(ctx, server_address=server_address)