mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
http2: normalize headers before sending
This commit is contained in:
parent
391f28f78c
commit
bbe08bb8d9
@ -97,7 +97,6 @@ class Http2Layer(base.Layer):
|
|||||||
client_side=False,
|
client_side=False,
|
||||||
header_encoding=False,
|
header_encoding=False,
|
||||||
validate_outbound_headers=False,
|
validate_outbound_headers=False,
|
||||||
normalize_outbound_headers=False,
|
|
||||||
validate_inbound_headers=False)
|
validate_inbound_headers=False)
|
||||||
self.connections[self.client_conn] = SafeH2Connection(self.client_conn, config=config)
|
self.connections[self.client_conn] = SafeH2Connection(self.client_conn, config=config)
|
||||||
|
|
||||||
@ -107,7 +106,6 @@ class Http2Layer(base.Layer):
|
|||||||
client_side=True,
|
client_side=True,
|
||||||
header_encoding=False,
|
header_encoding=False,
|
||||||
validate_outbound_headers=False,
|
validate_outbound_headers=False,
|
||||||
normalize_outbound_headers=False,
|
|
||||||
validate_inbound_headers=False)
|
validate_inbound_headers=False)
|
||||||
self.connections[self.server_conn] = SafeH2Connection(self.server_conn, config=config)
|
self.connections[self.server_conn] = SafeH2Connection(self.server_conn, config=config)
|
||||||
self.connections[self.server_conn].initiate_connection()
|
self.connections[self.server_conn].initiate_connection()
|
||||||
|
Loading…
Reference in New Issue
Block a user