Repository navigation
Treat "Accept-Encoding: *" as not accepting any encoding - #323
Conversation
|
I feel a bit uneasy about sending compressed data to clients that don't necessarily support it. It would probably be better to return the non-compressed version. For reference, I checked what nginx does. I found here in its gzip plugin that it seems to bail out if no Accept-Encoding header is provided, or if Copying this approach seems more sensible than returning the smallest compressed response. Would you be willing to update the PR? Afaict it requires a bit more rework since |
|
Can update - I don't think it will be difficult, can just revert the change that updates the default to |
|
Updated the PR. |
5152c42 to
e5df372
Compare
Fixes #303