mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-08 11:10:21 +00:00
Merge pull request #2067 from whackashoe/fix-2065
fix #2065 by setting correct content encoding for brotli
This commit is contained in:
commit
0fdf2c0f4b
@ -681,7 +681,7 @@ class FlowView(tabs.Tabs):
|
|||||||
encoding_map = {
|
encoding_map = {
|
||||||
"z": "gzip",
|
"z": "gzip",
|
||||||
"d": "deflate",
|
"d": "deflate",
|
||||||
"b": "brotli",
|
"b": "br",
|
||||||
}
|
}
|
||||||
conn.encode(encoding_map[key])
|
conn.encode(encoding_map[key])
|
||||||
signals.flow_change.send(self, flow = self.flow)
|
signals.flow_change.send(self, flow = self.flow)
|
||||||
|
Loading…
Reference in New Issue
Block a user