aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol2/http_proxy.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-15 17:43:46 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-15 17:49:40 +0200
commita9dd82c986be54d82f6ce9c7b65473f2b052cbe8 (patch)
treee284eeeec9674d5eb53714cf0944bb8db89dfe75 /libmproxy/protocol2/http_proxy.py
parent747699b126ab5788aca4541c9c9b4608611e7efa (diff)
downloadmitmproxy-a9dd82c986be54d82f6ce9c7b65473f2b052cbe8.tar.gz
mitmproxy-a9dd82c986be54d82f6ce9c7b65473f2b052cbe8.tar.bz2
mitmproxy-a9dd82c986be54d82f6ce9c7b65473f2b052cbe8.zip
add ALPN to proxy connections
Diffstat (limited to 'libmproxy/protocol2/http_proxy.py')
-rw-r--r--libmproxy/protocol2/http_proxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmproxy/protocol2/http_proxy.py b/libmproxy/protocol2/http_proxy.py
index 51d3763c..b85a65eb 100644
--- a/libmproxy/protocol2/http_proxy.py
+++ b/libmproxy/protocol2/http_proxy.py
@@ -1,7 +1,6 @@
from __future__ import (absolute_import, print_function, division)
from .layer import Layer, ServerConnectionMixin
-from .http import HttpLayer
class HttpProxy(Layer, ServerConnectionMixin):
@@ -22,3 +21,5 @@ class HttpUpstreamProxy(Layer, ServerConnectionMixin):
for message in layer():
if not self._handle_server_message(message):
yield message
+
+from .http import HttpLayer