aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2017-02-23 16:04:11 +0100
committerGitHub <noreply@github.com>2017-02-23 16:04:11 +0100
commitd0d11cec7b479932668eb4e7c99d7824018d0460 (patch)
tree55a4426988c6107e9c465659be436b09683fbb85
parentba76dbc672aeaa4454b82002f386bf22c06a039e (diff)
parentbbe08bb8d9f49a6afb4e631550190366b5980cea (diff)
downloadmitmproxy-d0d11cec7b479932668eb4e7c99d7824018d0460.tar.gz
mitmproxy-d0d11cec7b479932668eb4e7c99d7824018d0460.tar.bz2
mitmproxy-d0d11cec7b479932668eb4e7c99d7824018d0460.zip
Merge pull request #2055 from Kriechi/http2-normalize-headers
http2: normalize headers before sending
-rw-r--r--mitmproxy/proxy/protocol/http2.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mitmproxy/proxy/protocol/http2.py b/mitmproxy/proxy/protocol/http2.py
index cdce24b3..019159de 100644
--- a/mitmproxy/proxy/protocol/http2.py
+++ b/mitmproxy/proxy/protocol/http2.py
@@ -97,7 +97,6 @@ class Http2Layer(base.Layer):
client_side=False,
header_encoding=False,
validate_outbound_headers=False,
- normalize_outbound_headers=False,
validate_inbound_headers=False)
self.connections[self.client_conn] = SafeH2Connection(self.client_conn, config=config)
@@ -107,7 +106,6 @@ class Http2Layer(base.Layer):
client_side=True,
header_encoding=False,
validate_outbound_headers=False,
- normalize_outbound_headers=False,
validate_inbound_headers=False)
self.connections[self.server_conn] = SafeH2Connection(self.server_conn, config=config)
self.connections[self.server_conn].initiate_connection()