We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50e93ab + 0f1e1ff commit a58160cCopy full SHA for a58160c
assets/src/05-01.zig
@@ -11,8 +11,6 @@ pub fn main() !void {
11
defer client.deinit();
12
13
const uri = try std.Uri.parse("http://httpbin.org/headers");
14
- const buf = try allocator.alloc(u8, 1024 * 8);
15
- defer allocator.free(buf);
16
var req = try client.request(.GET, uri, .{
17
.extra_headers = &.{.{ .name = "Custom-header", .value = "Custom Value" }},
18
});
0 commit comments