Files
ladybird/Libraries/LibWeb/Fetch
Praise-Garfield 7b635fc734 LibWeb: Check WWW-Authenticate on response, not request
The AD-HOC guard for HTTP 401 retry checks whether the request
contains a WWW-Authenticate header, but WWW-Authenticate is a
response header sent by the server to indicate which
authentication schemes it accepts. The check uses
request->header_list() where response->header_list() is
intended. Since requests never carry this header, the guard
never matches and the entire 401 retry path is dead code.
2026-02-14 14:35:41 -05:00
..