Skip to content

Commit 0f1e1ff

Browse files
fix: remove no use codes.
1 parent 50e93ab commit 0f1e1ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

assets/src/05-01.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ pub fn main() !void {
1111
defer client.deinit();
1212

1313
const uri = try std.Uri.parse("http://httpbin.org/headers");
14-
const buf = try allocator.alloc(u8, 1024 * 8);
15-
defer allocator.free(buf);
1614
var req = try client.request(.GET, uri, .{
1715
.extra_headers = &.{.{ .name = "Custom-header", .value = "Custom Value" }},
1816
});

0 commit comments

Comments
 (0)