var body: std.io.Writer = undefined;
const fetchResult = try client.fetch(.{
.method = .GET,
.location = .{ .uri = uri },
.response_writer = &body,
.keep_alive = true,
.headers = .{
.user_agent = .{ .override = "test-fetch" },
.content_type = .{ .override = "text/html" },
},
});
on 0.14.1 it's pretty straight forward since it only requires ArrayList to store the body, but on latest dev version I don't know how to initialized it and store the body since it require Io.Writer. Thanks.