From 1c4e1e049cbe5357b1f0191c616ea92e09c5e36b Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 26 May 2016 13:58:53 +0200 Subject: http2: remove custom PUSH_PROMISE header --- mitmproxy/protocol/http2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mitmproxy/protocol/http2.py b/mitmproxy/protocol/http2.py index 49219ede..9247e657 100644 --- a/mitmproxy/protocol/http2.py +++ b/mitmproxy/protocol/http2.py @@ -189,7 +189,6 @@ class Http2Layer(base.Layer): self.client_conn.send(self.client_conn.h2.data_to_send()) headers = netlib.http.Headers([[str(k), str(v)] for k, v in event.headers]) - headers['x-mitmproxy-pushed'] = 'true' self.streams[event.pushed_stream_id] = Http2SingleStreamLayer(self, event.pushed_stream_id, headers) self.streams[event.pushed_stream_id].timestamp_start = time.time() self.streams[event.pushed_stream_id].pushed = True -- cgit v1.2.3