ladybird/Libraries/LibWeb/Fetch
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
..
Fetching LibWeb: Skip 401 retry for non-credential-based auth schemes 2026-04-15 22:43:24 +02:00
Infrastructure LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
Body.cpp LibWeb: Add missing GC visits for XHR::FormDataEntry 2025-12-26 19:48:46 +01:00
Body.h LibWeb: Add missing GC visits for XHR::FormDataEntry 2025-12-26 19:48:46 +01:00
Body.idl
BodyInit.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
BodyInit.h LibWeb+IDLGenerators: Support nullable union types 2026-03-25 13:18:15 +00:00
BodyInit.idl
Enums.cpp LibHTTP+LibWeb: Move Infrastructure::Request::CacheMode to LibHTTP 2026-01-22 07:05:06 -05:00
Enums.h LibHTTP+LibWeb: Move Infrastructure::Request::CacheMode to LibHTTP 2026-01-22 07:05:06 -05:00
FetchMethod.cpp LibWeb: Remove exception throwing from Fetch 2025-11-07 04:08:30 +01:00
FetchMethod.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Headers.cpp LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Headers.h LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Headers.idl
HeadersIterator.cpp LibTextCodec+LibWeb: Move isomorphic coders to LibTextCodec 2025-11-27 14:57:29 +01:00
HeadersIterator.h LibWeb: Give IDL exposed PlatformObjects an InterfaceName 2026-02-14 20:22:40 +01:00
Request.cpp LibWeb+IDLGenerators: Support nullable union types 2026-03-25 13:18:15 +00:00
Request.h LibWeb+IDLGenerators: Support nullable union types 2026-03-25 13:18:15 +00:00
Request.idl
Response.cpp LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
Response.h LibWeb+IDLGenerators: Support nullable union types 2026-03-25 13:18:15 +00:00
Response.idl