etherpad-lite/tests/backend/specs
webzwo0i f2febcfc7e
minify: Fix gzip not triggered for packages (#4491)
* caching_middleware: fix gzip compression not triggered

* packages: If a client sets `Accept-Encoding: gzip`, the responseCache will
include `Content-Encoding: gzip` in all future responses, even
if a subsequent request does not set `Accept-Encoding` or another client
requests the file without setting `Accept-Encoding`.
Fix that.

* caching_middleware: use `test` instead of `match`

* add tests

* make code easier to understand

* make the regex more clear
2020-11-22 09:23:33 +00:00
..
api tests: Clear auth hooks before running import/export unit tests 2020-10-29 19:06:24 -04:00
caching_middleware.js minify: Fix gzip not triggered for packages (#4491) 2020-11-22 09:23:33 +00:00
contentcollector.js tests: Include the filename in the test output 2020-10-14 11:16:39 +01:00
hooks.js plugins: Fix plugin name in error messages 2020-11-13 20:30:27 +00:00
promises.js tests: Include the filename in the test output 2020-10-14 11:16:39 +01:00
socketio.js tests: Clear auth hooks before running socket.io unit tests 2020-10-29 18:53:10 -04:00
specialpages.js bugfix: Fix bad paren placement in /javascript handler (#4496) 2020-11-19 08:19:13 +00:00
webaccess.js webaccess: Be extra paranoid about nullish password 2020-11-04 18:06:08 +00:00