mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
ensure robots params have arena and request id
This commit is contained in:
@@ -111,6 +111,9 @@ fn fetchRobotsThenRequest(
|
||||
try self.next.request(client, .{
|
||||
.ctx = robots_ctx,
|
||||
.params = .{
|
||||
// We have to do this ourselves because we are not going through the top level `request`.
|
||||
.arena = std.heap.ArenaAllocator.init(client.allocator),
|
||||
.request_id = client.incrReqId(),
|
||||
.url = robots_url,
|
||||
.method = .GET,
|
||||
.headers = headers,
|
||||
|
||||
Reference in New Issue
Block a user