We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ef255 commit f6ed706Copy full SHA for f6ed706
src/browser/fetch/fetch.zig
@@ -85,7 +85,7 @@ pub fn fetch(input: RequestInput, options: ?RequestInit, page: *Page) !Env.Promi
85
const arena = page.arena;
86
87
const req = try Request.constructor(input, options, page);
88
- var headers = try Http.Headers.init(page.http_client.user_agent);
+ var headers = try page.http_client.newHeaders();
89
90
// Copy our headers into the HTTP headers.
91
var header_iter = req.headers.headers.iterator();
0 commit comments