mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-13 23:46:16 +01:00
std.http: handle compressed payloads
This commit is contained in:
parent
8d86194b6e
commit
fd2f906d1e
2 changed files with 504 additions and 275 deletions
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue