angular/packages/common/http/test
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
..
BUILD.bazel build: migrate to node 18 (#51609) 2023-09-01 15:12:43 +00:00
client_spec.ts fix(http): prevent headers from throwing an error when initializing numerical values (#49379) 2023-04-13 14:00:16 +00:00
context_spec.ts feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
fetch_spec.ts fix(http): use serializeBody to support JSON payload in FetchBackend (#50776) 2023-06-20 13:31:25 -07:00
headers_spec.ts fix(http): prevent headers from throwing an error when initializing numerical values (#49379) 2023-04-13 14:00:16 +00:00
jsonp_mock.ts refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807) 2022-02-24 17:24:33 +00:00
jsonp_spec.ts refactor: use queueMicrotask to schedule micro tasks instead of various helpers (#50485) 2023-06-15 16:38:21 +02:00
module_spec.ts refactor(common): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:16 -07:00
params_spec.ts fix(common): properly cast http param values to strings (#42643) 2022-05-04 12:43:37 -07:00
provider_spec.ts refactor(http): warn when HttpClient doesn't use fetch during SSR (#52037) 2023-10-05 16:52:41 -07:00
request_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
response_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
transfer_cache_spec.ts feat(http): allow customization of the HttpTransferCache. (#52029) 2023-10-06 12:12:47 -07:00
xhr_mock.ts fix(common): incorrect error type for XHR errors in TestRequest (#36082) 2021-11-19 21:26:52 +00:00
xhr_spec.ts fix(http): use serializeBody to support JSON payload in FetchBackend (#50776) 2023-06-20 13:31:25 -07:00
xsrf_spec.ts refactor(http): convert the XSRF interceptor to functional style (#47502) 2022-10-06 19:02:45 +00:00