angular/packages/common/http/src
Matthieu Riegler 7dde42a5df feat(http): allow customization of the HttpTransferCache. (#52029)
`provideClientHydration()` accepts new `HydrationFeature` : `HttpTransferCacheOptions`.

`withHttpTransferCacheOptions` accepts an option object:
* `includeHeaders` : list of headers entries to keep in the cache with the request
* `filter` a callback to determine if a request should be cached
* `includePostRequests`: to include POST requests in the allowed methods

Implements some of the features requested in #50117

PR Close #52029
2023-10-06 12:12:47 -07:00
..
backend.ts refactor(http): introduce the functional interceptors API (#47502) 2022-10-06 19:02:45 +00:00
client.ts feat(http): allow customization of the HttpTransferCache. (#52029) 2023-10-06 12:12:47 -07:00
context.ts feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
errors.ts feat(http): allow customization of the HttpTransferCache. (#52029) 2023-10-06 12:12:47 -07:00
fetch.ts fix(http): check whether Zone is defined (#51119) 2023-07-21 16:45:26 +00:00
headers.ts feat(http): Introduction of the fetch Backend for the HttpClient (#50247) 2023-06-08 09:48:12 -07:00
interceptor.ts refactor(http): warn when HttpClient doesn't use fetch during SSR (#52037) 2023-10-05 16:52:41 -07:00
jsonp.ts docs: Make links out of @see tags (#50098) 2023-05-02 13:14:25 +02:00
module.ts refactor(http): simplify HttpClientModule XSRF configuration (#48957) 2023-02-17 11:17:53 -08:00
params.ts fix(common): properly cast http param values to strings (#42643) 2022-05-04 12:43:37 -07:00
provider.ts docs: recommend enabling fetch support in HttpClient when using SSR (#52056) 2023-10-05 16:54:58 -07:00
request.ts feat(http): allow customization of the HttpTransferCache. (#52029) 2023-10-06 12:12:47 -07:00
response.ts feat(http): Introduction of the fetch Backend for the HttpClient (#50247) 2023-06-08 09:48:12 -07:00
transfer_cache.ts feat(http): allow customization of the HttpTransferCache. (#52029) 2023-10-06 12:12:47 -07:00
xhr.ts refactor(http): replace zone.js macrotask creation with InitialRenderPendingTasks (#50425) 2023-05-30 12:58:22 -07:00
xsrf.ts fix(http): better handle unexpected undefined XSRF tokens (#47683) 2022-10-06 16:41:06 -07:00