proper fetch method and body setting

This commit is contained in:
Muki Kiboigo
2025-08-25 08:03:51 -07:00
parent dc2addb0ed
commit a133a71eb9
4 changed files with 73 additions and 31 deletions

View File

@@ -200,6 +200,7 @@ pub fn requestIntercept(arena: Allocator, bc: anytype, intercept: *const Notific
.script => "Script",
.xhr => "XHR",
.document => "Document",
.fetch => "Fetch",
},
.networkId = try std.fmt.allocPrint(arena, "REQ-{d}", .{transfer.id}),
}, .{ .session_id = session_id });