-
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added support for brotli ('br') content-encoding * Update README.md * Update README.md * Update README.md * Apply default value also when params is specified * Increase coverage for specifying params * Updated brotli detection method * Prefer br over gzip and deflate * feat: use "koa-compress" logic to determine the preferred encoding * test: adding one more test case br/gzip with quality params * chore: fix linting errors * fix: hand write encodings lib to be compatible with node 0.8 * Fix: fixing lint errors in new lib * Fix: fixing lint errors in new lib * implemented required encoding negotiator without 3rd party dependency * fix * use negotiator * improve negotiateEnconding * fix support * update history * add new test * add new test * Update test/compression.js Co-authored-by: Wes Todd <[email protected]> * improve parse options * don't directly manipulate the object. * remove .npmrc * use object assign in params * test: add test for enforceEnconding * deps: remove object-assign --------- Co-authored-by: Daniel Cohen Gindi <[email protected]> Co-authored-by: Nick Randall <[email protected]> Co-authored-by: Ulises Gascón <[email protected]> Co-authored-by: Wes Todd <[email protected]>
- Loading branch information
1 parent
96df7c5
commit d272132
Showing
4 changed files
with
229 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters