angular/packages/common/http/src
Vincent d39e09da41 fix(http): Include HTTP status code and headers when HTTP requests errored in httpResource (#60802)
Currently the HTTP status code and headers are only included if the request succeeded. Given status codes convey more information in case of a request error vs. success, this makes it more useful than inspecting what is contained in `.error()`.

PR Close #60802
2025-04-09 14:25:03 -07:00
..
backend.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
client.ts fix(common): make types for HttpClient more readable (#59901) 2025-02-25 13:01:11 -05:00
context.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
errors.ts refactor(common): drop error messages in production (#59545) 2025-01-28 09:39:42 +01:00
fetch.ts refactor(common): prevent duplicating Accept header name (#59546) 2025-01-23 14:21:51 -08:00
headers.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:30 +00:00
interceptor.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
jsonp.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
module.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
params.ts refactor(common): drop error message in production (#59471) 2025-01-15 12:28:29 -05:00
private_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
provider.ts refactor(common): tree-shake fetch backend (#59418) 2025-01-09 13:05:56 -05:00
request.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:30 +00:00
resource.ts fix(http): Include HTTP status code and headers when HTTP requests errored in httpResource (#60802) 2025-04-09 14:25:03 -07:00
resource_api.ts refactor(http): add context property to httpResource (#60188) 2025-03-04 19:57:22 +00:00
response.ts refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:30 +00:00
transfer_cache.ts refactor(common): remove redundant transferCacheInterceptorFn dependencies (#59819) 2025-02-13 15:11:19 +00:00
xhr.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00
xsrf.ts refactor(common): convert scripts within packages/common to relative imports (#60676) 2025-04-01 18:16:49 +00:00