aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-05-26 13:58:53 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-06-04 11:20:10 +0200
commit1c4e1e049cbe5357b1f0191c616ea92e09c5e36b (patch)
treeb4a2c6abaf44d921d1270d07f90f620a68f09885
parentac70eaed6635ee506c9d9e1920e225f54bb26279 (diff)
downloadmitmproxy-1c4e1e049cbe5357b1f0191c616ea92e09c5e36b.tar.gz
mitmproxy-1c4e1e049cbe5357b1f0191c616ea92e09c5e36b.tar.bz2
mitmproxy-1c4e1e049cbe5357b1f0191c616ea92e09c5e36b.zip
http2: remove custom PUSH_PROMISE header
-rw-r--r--mitmproxy/protocol/http2.py1
1 files changed, 0 insertions, 1 deletions
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