Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/browser/fetch/fetch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn fetch(input: RequestInput, options: ?RequestInit, page: *Page) !Env.Promi
const arena = page.arena;

const req = try Request.constructor(input, options, page);
var headers = try Http.Headers.init(page.http_client.user_agent);
var headers = try page.http_client.newHeaders();

// Copy our headers into the HTTP headers.
var header_iter = req.headers.headers.iterator();
Expand Down