aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol2/layer.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-16 15:19:11 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-16 15:19:11 +0200
commit38c456bb627c4570e0ed983229ec8ef2f120a4b6 (patch)
tree2119fb74f6f4884b2e7edd91322ac09d3b6cd7e3 /libmproxy/protocol2/layer.py
parentc04fa1b233224d28e85be34ab5b6a8718497488c (diff)
downloadmitmproxy-38c456bb627c4570e0ed983229ec8ef2f120a4b6.tar.gz
mitmproxy-38c456bb627c4570e0ed983229ec8ef2f120a4b6.tar.bz2
mitmproxy-38c456bb627c4570e0ed983229ec8ef2f120a4b6.zip
implement Http1 and Http2 protocols as layers
Diffstat (limited to 'libmproxy/protocol2/layer.py')
-rw-r--r--libmproxy/protocol2/layer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/protocol2/layer.py b/libmproxy/protocol2/layer.py
index c1648a62..31b74552 100644
--- a/libmproxy/protocol2/layer.py
+++ b/libmproxy/protocol2/layer.py
@@ -64,6 +64,7 @@ class Layer(_LayerCodeCompletion):
"""
super(Layer, self).__init__()
self.ctx = ctx
+ print("%s -> %s" % (repr(ctx), repr(self)))
def __call__(self):
"""