From c6c0492c33e700a32fd47a67cff767972f08e8c0 Mon Sep 17 00:00:00 2001 From: Muki Kiboigo Date: Tue, 10 Mar 2026 20:21:43 -0700 Subject: [PATCH] fix request authentication with web bot auth --- src/browser/HttpClient.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/HttpClient.zig b/src/browser/HttpClient.zig index 181b3923..5b71b3b0 100644 --- a/src/browser/HttpClient.zig +++ b/src/browser/HttpClient.zig @@ -1338,7 +1338,7 @@ pub const Transfer = struct { } transfer._redirecting = false; - if ((status == 401 or status == 407) and transfer.client.use_proxy) { + if (status == 401 or status == 407) { // The auth challenge must be parsed from a following // WWW-Authenticate or Proxy-Authenticate header. transfer._auth_challenge = .{