Files
ladybird/Libraries/LibWeb/Fetch/Fetching
Andreas Kling 83e0122d11 LibWeb: Skip 401 retry for non-credential-based auth schemes
When receiving a 401 response, we previously entered the credential
prompt path for any request with a WWW-Authenticate header. This caused
spurious "Username/password prompt is not implemented" warnings and
unnecessary request retries for auth schemes like PrivateToken
(RFC 9577) that don't involve user credential prompts.

Only enter the 401 handling path when the WWW-Authenticate header
contains a scheme we can handle with a username/password prompt
(Basic or Digest). This is consistent with how Chromium, Firefox,
and WebKit all silently skip unrecognized auth schemes.
2026-04-15 22:43:24 +02:00
..