colour-science / flask-compress

Compress responses of your Flask application.
MIT License
117 stars 27 forks source link

Add deflate compression algorithm #8

Closed alexprengere closed 4 years ago

alexprengere commented 4 years ago

Since most browser use the value gzip, deflate, br as Accept-Encoding, adding deflate support makes sense, since gzip and brotli are already supported. This PR changes the default value of COMPRESS_ALGORITHM to ['br', 'gzip', 'deflate']: