mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-18 09:50:27 +00:00
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. |
||
|---|---|---|
| .. | ||
| Checks.cpp | ||
| Checks.h | ||
| FetchedDataReceiver.cpp | ||
| FetchedDataReceiver.h | ||
| Fetching.cpp | ||
| Fetching.h | ||
| PendingResponse.cpp | ||
| PendingResponse.h | ||
| RefCountedFlag.cpp | ||
| RefCountedFlag.h | ||