From 7795916c08c245c737eb20da942053b750bff1fc Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 19 Aug 2025 10:01:35 +0200 Subject: [PATCH] apply review comments --- src/http/Client.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/Client.zig b/src/http/Client.zig index 2915cb89..9d314a93 100644 --- a/src/http/Client.zig +++ b/src/http/Client.zig @@ -24,7 +24,7 @@ pub const Headers = Http.Headers; const Notification = @import("../notification.zig").Notification; const storage = @import("../browser/storage/storage.zig"); -const urlStitch = @import("../url.zig").URL.stitch; +const urlStitch = @import("../url.zig").stitch; const c = Http.c; @@ -598,7 +598,7 @@ pub const Transfer = struct { // redirectionCookies manages cookies during redirections handled by Curl. // It sets the cookies from the current response to the cookie jar. // It also immediately sets cookies for the following request. - fn redirectionCookies(arena: std.mem.Allocator, easy: *c.CURL, cookie_jar: *storage.CookieJar, origin: *const std.Uri) !void { + fn redirectionCookies(arena: Allocator, easy: *c.CURL, cookie_jar: *storage.CookieJar, origin: *const std.Uri) !void { // retrieve cookies from the redirect's response. var i: usize = 0; while (true) {