Files
angular__angular/packages
Yenya030 de7b2a62e7 fix(http): exclude withCredentials requests from transfer cache
Update the transfer cache check to safely exclude all requests sent with the `withCredentials` flag.

By default, the HTTP transfer cache avoids caching user-specific responses to prevent sensitive data exposure or incorrect caching. While requests with explicit headers like `Cookie` or `Authorization` are excluded by default, requests can also be sent with credentials via the `withCredentials` flag without having those headers explicitly declared on the request object.

To keep user-specific responses from being cached, exclude `withCredentials` requests unconditionally, even when the `includeRequestsWithAuthHeaders` option is set to true.
2026-05-27 10:25:28 -07:00
..
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
2025-11-06 10:10:22 -08:00
…
…
2025-11-06 10:10:22 -08:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT