aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol/__init__.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-01-20 19:58:24 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-02-04 09:52:03 +0100
commit936422cd735ac7d2bf19633c24dfeb1175cb3377 (patch)
treef5779b04c4917ca8325c7a43cc4acd0ad9d6c98e /libmproxy/protocol/__init__.py
parenta05a961e7fa44259fe2768f43e53dde8888860ba (diff)
downloadmitmproxy-936422cd735ac7d2bf19633c24dfeb1175cb3377.tar.gz
mitmproxy-936422cd735ac7d2bf19633c24dfeb1175cb3377.tar.bz2
mitmproxy-936422cd735ac7d2bf19633c24dfeb1175cb3377.zip
split files into http, http1, and http2
Diffstat (limited to 'libmproxy/protocol/__init__.py')
-rw-r--r--libmproxy/protocol/__init__.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/libmproxy/protocol/__init__.py b/libmproxy/protocol/__init__.py
index d46f16f5..ea958d06 100644
--- a/libmproxy/protocol/__init__.py
+++ b/libmproxy/protocol/__init__.py
@@ -27,15 +27,19 @@ as late as possible; this makes server replay without any outgoing connections p
from __future__ import (absolute_import, print_function, division)
from .base import Layer, ServerConnectionMixin, Kill
-from .http import Http1Layer, UpstreamConnectLayer, Http2Layer
from .tls import TlsLayer
from .tls import is_tls_record_magic
from .tls import TlsClientHello
+from .http import UpstreamConnectLayer
+from .http1 import Http1Layer
+from .http2 import Http2Layer
from .rawtcp import RawTCPLayer
__all__ = [
"Layer", "ServerConnectionMixin", "Kill",
- "Http1Layer", "UpstreamConnectLayer", "Http2Layer",
"TlsLayer", "is_tls_record_magic", "TlsClientHello",
+ "UpstreamConnectLayer",
+ "Http1Layer",
+ "Http2Layer",
"RawTCPLayer",
]