You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce: Enable the "gzip" feaure, disable the "brotli" feature, and serve a text/plain document using rouille::content_encoding::apply(). Access that document using a browser which accepts the encodings gzip and br.
Expected behaviour: The response should be gzip-compressed.
Observed behaviour: rouille::content_encoding::apply() prioritises brotli encoding over gzip encoding, even when the "brotli" feature is disabled. Under those circumstances, the brotli() function in that module is stubbed out, so the response is not compressed.
The text was updated successfully, but these errors were encountered:
Version:
3.6.1
To reproduce: Enable the
"gzip"
feaure, disable the"brotli"
feature, and serve atext/plain
document usingrouille::content_encoding::apply()
. Access that document using a browser which accepts the encodingsgzip
andbr
.Expected behaviour: The response should be gzip-compressed.
Observed behaviour:
rouille::content_encoding::apply()
prioritises brotli encoding over gzip encoding, even when the"brotli"
feature is disabled. Under those circumstances, thebrotli()
function in that module is stubbed out, so the response is not compressed.The text was updated successfully, but these errors were encountered: