Add --user_agent_suffix argument

Allows appending a value (separated by a space) to the existing Lightpanda/X.Y
user agent.
This commit is contained in:
Karl Seguin
2025-09-18 11:28:27 +08:00
parent b7d26cf0d5
commit 26550129ea
8 changed files with 58 additions and 7 deletions

View File

@@ -493,6 +493,7 @@ pub fn setup() !void {
test_app = try App.init(gpa.allocator(), .{
.run_mode = .serve,
.tls_verify_host = false,
.user_agent = "User-Agent: Lightpanda/1.0 internal-tester",
});
errdefer test_app.deinit();