mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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.