fix request authentication with web bot auth

This commit is contained in:
Muki Kiboigo committed 2026-03-12 09:04:13 -07:00
1 parent fca29a8be2
commit c6c0492c33
1 file changed
+1 -1
+1 -1
View File
@@ -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 = .{