refactor(server): drop the null and String paths from gzipBody

This commit is contained in:
German Khokhlov committed 2026-11-09 18:15:13 +04:00
1 parent 09bf01630b
commit caad795fa2
2 files changed
+1 -4

No files matched your search

-2
View File
@@ -81,8 +81,6 @@ test('accept-encoding is read the way clients actually write it', () => {
});
test('a body is only compressed when compression pays for itself', async () => {
assert.equal(await gzipBody(null), null);
assert.equal(await gzipBody(undefined), null);
assert.equal(await gzipBody(''), null);
assert.equal(
await gzipBody('{"states":[]}'),