Skip to content

Commit 43d52fa

Browse files
committed
std: add std.http.Headers field
Based on lua-http's data structure
1 parent 34a22a8 commit 43d52fa

File tree

4 files changed

+612
-0
lines changed

4 files changed

+612
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ set(ZIG_STD_FILES
521521
"hash/siphash.zig"
522522
"hash_map.zig"
523523
"heap.zig"
524+
"http.zig"
525+
"http/headers.zig"
524526
"io.zig"
525527
"io/c_out_stream.zig"
526528
"io/seekable_stream.zig"

std/http.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test "std.http" {
2+
_ = @import("http/headers.zig");
3+
}
4+
5+
pub const Headers = @import("http/headers.zig").Headers;

0 commit comments

Comments
 (0)