koajs/compress

Brotli used, even if not in Accept-Encoding header (v4.0.0)

Guillaume-Mayer opened this issue · 4 comments

Sending Accept-Encoding: gzip, or Accept-Encoding: identity, if the response size is more than the threshold, the response get encoded with Brotli.

I used the default settings: app.use(compress());

I went back to 3.1.0 which works perfectly.

895fbe8 these tests pass, can you make a PR with a failing test?

I will try to

It seems there is some state involved

cool thanks