8000 feat(http): add support for fetch mode and redirect options in HttpCl… · angular/angular@8732244 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8732244

Browse files
SkyZeroZxthePunderWoman
authored andcommitted
feat(http): add support for fetch mode and redirect options in HttpClient (#62315)
Add support for mode and redirect options in Angular's HttpClient based on fech provider to enable control CORS behavior and redirect handling PR Close #62315
1 parent f943505 commit 8732244

File tree

8 files changed

+656
-31
lines changed

8 files changed

+656
-31
lines changed

goldens/public-api/common/http/errors.api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ export const enum RuntimeErrorCode {
2727
// (undocumented)
2828
MISSING_JSONP_MODULE = -2800,
2929
// (undocumented)
30+
MODE_NOT_SUPPORTED_WITH_XHR = 2816,
31+
// (undocumented)
3032
NOT_USING_FETCH_BACKEND_IN_SSR = 2801,
3133
// (undocumented)
3234
PRIORITY_NOT_SUPPORTED_WITH_XHR = 2815,
3335
// (undocumented)
36+
REDIRECT_NOT_SUPPORTED_WITH_XHR = 2817,
37+
// (undocumented)
3438
RESPONSE_IS_NOT_A_BLOB = 2807,
3539
// (undocumented)
3640
RESPONSE_IS_NOT_A_STRING = 2808,

0 commit comments

Comments
 (0)
0