1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests
Matt Mastracci 234cef982c
feat(ext/http): Automatic compression for Deno.serve (#19031)
`Content-Encoding: gzip` support for `Deno.serve`. This doesn't support
Brotli (`br`) yet, however it should not be difficult to add. Heuristics
for compression are modelled after those in `Deno.serveHttp`.

Tests are provided to ensure that the gzip compression is correct. We
chunk a number of different streams (zeros, hard-to-compress data,
already-gzipped data) in a number of different ways (regular, random,
large/small, small/large).
2023-05-10 13:23:14 +02:00
..
integration fix(ext/http): Ensure Deno.serve works across --watch restarts (#18998) 2023-05-08 09:52:56 +02:00
node_compat refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
testdata fix(core): allow esm extensions not included in snapshot (#18980) 2023-05-04 02:44:59 +02:00
unit feat(ext/http): Automatic compression for Deno.serve (#19031) 2023-05-10 13:23:14 +02:00
unit_node BREAKING(unstable): remove "Deno.serve(handler, options)" overload (#18759) 2023-04-26 14:54:03 +02:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00