Skip to content

Lightpanda: the headless browser designed for AI and automation

handle all switch cases (emerged after rebase to main)

Halil Durak6a85b1f386a6
diff --git a/src/network/HttpClient.zig b/src/network/HttpClient.zig
index bf6aef88a..6018833b2 100644
--- a/src/network/HttpClient.zig
+++ b/src/network/HttpClient.zig
@@ -448,6 +448,7 @@ fn adblockResourceType(req: *const Request) AdBlocker.ResourceTypes {
.script => .{ .script = true },
.stylesheet => .{ .stylesheet = true },
.xhr, .fetch => .{ .xmlhttprequest = true },
+ .image => .{ .image = true },
.eventsource => .{ .other = true },
};
}