mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-21 20:24:42 +00:00
fix request authentication with web bot auth
This commit is contained in:
@@ -1338,7 +1338,7 @@ pub const Transfer = struct {
|
|||||||
}
|
}
|
||||||
transfer._redirecting = false;
|
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
|
// The auth challenge must be parsed from a following
|
||||||
// WWW-Authenticate or Proxy-Authenticate header.
|
// WWW-Authenticate or Proxy-Authenticate header.
|
||||||
transfer._auth_challenge = .{
|
transfer._auth_challenge = .{
|
||||||
|
|||||||
Reference in New Issue
Block a user