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-16 11:36:31 +0200
commit1e40d34e942382bbb11234e0e9232794b3bf6acf (patch)
tree71e7c5879dcf9d30073e23014fea627eeba2647d /libmproxy/protocol2/http_proxy.py
parent2a15479cdbda07a4a99f56f6090e479decbeb17c (diff)
downloadmitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.tar.gz
mitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.tar.bz2
mitmproxy-1e40d34e942382bbb11234e0e9232794b3bf6acf.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 8ac7ea8e..b4c506cb 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