Headers and improved Request

This commit is contained in:
Karl Seguin
2025-11-21 20:22:24 +08:00
parent 216b1664bd
commit 470f5b5029
6 changed files with 275 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ pub const Input = Request.Input;
// @ZIGDOM just enough to get campire demo working
pub fn init(input: Input, page: *Page) !js.Promise {
const request = try Request.init(input, page);
const request = try Request.init(input, null, page);
const fetch = try page.arena.create(Fetch);
fetch.* = .{