angular/packages/common/http/test
Matthieu Riegler 5c432fb8bb feat(http): Use FetchBackend as default for the HttpBackend implementation
This commit replaces the `XhrHttpBackend` with the `FetchBackend` as the default implementation of the `HttpBackend`.
This introduces a breaking change a the `FetchBackend` does not support the report progress for uploads.

The previous behavior (`HttpXhrBackend`) can be restored by setting `withXhr()` in the `provideHttpClient()` provider function.

DEPRECATED: `withFetch` is now deprecated, it can be safely removed.
BREAKING CHANGE: Use the `HttpXhrBackend` with `provideHttpClient(withXhr)` if you want to keep supporting upload progress reports.
2026-02-26 13:47:02 -08:00
..
BUILD.bazel test(http): remove zone-based testing utilities 2026-02-10 07:45:00 -08:00
client_spec.ts feat(http): add support for fetch referrerPolicy option in HttpClient (#64116) 2025-10-07 20:45:34 -04:00
context_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
fetch_spec.ts feat(http): Use FetchBackend as default for the HttpBackend implementation 2026-02-26 13:47:02 -08:00
headers_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
jsonp_mock.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:29 +00:00
jsonp_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
module_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
params_spec.ts refactor(common): convert scripts within packages/common to relative imports (#60623) 2025-04-01 15:58:51 +00:00
provider_spec.ts feat(http): Use FetchBackend as default for the HttpBackend implementation 2026-02-26 13:47:02 -08:00
request_spec.ts feat(http): add support for fetch referrerPolicy option in HttpClient (#64116) 2025-10-07 20:45:34 -04:00
resource_spec.ts feat(http): add referrerPolicy option to HttpResource (#64283) 2025-10-13 10:00:27 -07:00
response_spec.ts feat(http): Add reponseType property to HttpResponse and HttpErrorResponse (#63043) 2025-08-28 08:34:56 -07:00
transfer_cache_spec.ts test(http): remove zone-based testing utilities 2026-02-10 07:45:00 -08:00
xhr_mock.ts feat(http): Add timeout option to HTTP requests (#57194) 2025-06-27 09:56:25 +00:00
xhr_spec.ts refactor(http): add hooks for propagating traces across XHR callbacks. 2025-10-28 15:08:57 +01:00
xsrf_spec.ts fix(http): enable XSRF protection for same-origin absolute URLs 2025-12-03 12:19:43 +01:00