mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-08 12:21:44 -04:00
testing: remove unused func
This commit is contained in:
1 file changed
-9
@@ -635,15 +635,6 @@ var serve_counts = [_]struct { name: []const u8, count: u32 = 0 }{
|
||||
.{ .name = "prescan_module" },
|
||||
};
|
||||
|
||||
// dump a request in output for debugging.
|
||||
fn dumpReq(req: *std.http.Server.Request) void {
|
||||
std.debug.print("\n> {} {s}\n", .{ req.head.method, req.head.target });
|
||||
var it = req.iterateHeaders();
|
||||
while (it.next()) |h| {
|
||||
std.debug.print("> {s}: {s}\n", .{ h.name, h.value });
|
||||
}
|
||||
}
|
||||
|
||||
fn origin(req: *std.http.Server.Request) ?[]const u8 {
|
||||
var it = req.iterateHeaders();
|
||||
while (it.next()) |h| {
|
||||
|
||||
Reference in new issue
Block a user