Merge pull request #2067 from whackashoe/fix-2065

fix #2065 by setting correct content encoding for brotli
This commit is contained in:
Maximilian Hils 2017-02-26 22:10:12 +01:00 committed by GitHub
commit 0fdf2c0f4b

View File

@ -681,7 +681,7 @@ class FlowView(tabs.Tabs):
encoding_map = {
"z": "gzip",
"d": "deflate",
"b": "brotli",
"b": "br",
}
conn.encode(encoding_map[key])
signals.flow_change.send(self, flow = self.flow)