aboutsummaryrefslogtreecommitdiff
path: root/lib/std/http/Server.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/http/Server.zig')
-rw-r--r--lib/std/http/Server.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/http/Server.zig b/lib/std/http/Server.zig
index 25d3e44253..886aed72dc 100644
--- a/lib/std/http/Server.zig
+++ b/lib/std/http/Server.zig
@@ -129,11 +129,10 @@ pub const Request = struct {
pub const Compression = union(enum) {
pub const DeflateDecompressor = std.compress.zlib.Decompressor(std.io.AnyReader);
pub const GzipDecompressor = std.compress.gzip.Decompressor(std.io.AnyReader);
- pub const ZstdDecompressor = std.compress.zstd.Decompressor(std.io.AnyReader);
deflate: DeflateDecompressor,
gzip: GzipDecompressor,
- zstd: ZstdDecompressor,
+ zstd: std.compress.zstd.Decompress,
none: void,
};