dream-encoding icon indicating copy to clipboard operation
dream-encoding copied to clipboard

deflate is chosen despite gzip also being requested

Open reynir opened this issue 1 year ago • 0 comments

When I invoke curl --compressed ... it sets the header Accept-Encoding: deflate, gzip, br, zstd. Then dream with dream-encoding responds with Content-Encoding: deflate. This is despite gzip also being requested and in my test is ~10% faster.

I don't know if this is an explicit choice, but it seems to differ from what e.g. nginx does.

reynir avatar Jan 17 '25 09:01 reynir