std.http: handle compressed payloads

This commit is contained in:
Nameless
2023-03-06 20:13:15 -06:00
parent 8d86194b6e
commit fd2f906d1e
2 changed files with 504 additions and 275 deletions

View File

@@ -253,6 +253,16 @@ pub const TransferEncoding = enum {
gzip,
};
pub const Connection = enum {
keep_alive,
close,
};
pub const CustomHeader = struct {
name: []const u8,
value: []const u8,
};
const std = @import("std.zig");
test {

File diff suppressed because it is too large Load Diff