Skip to content

Commit 1cf9d90

Browse files
SkyZeroZxthePunderWoman
authored andcommitted
feat(http): Add support for fetch referrer & integrity options in HttpClient (#62417)
Enhances Angular HttpClient requests with Fetch API referrer and integrity options to optimize security PR Close #62417
1 parent e39bf3c commit 1cf9d90

File tree

9 files changed

+637
-0
lines changed

9 files changed

+637
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export const enum RuntimeErrorCode {
1919
// (undocumented)
2020
HTTP_ORIGIN_MAP_USED_IN_CLIENT = 2803,
2121
// (undocumented)
22+
INTEGRITY_NOT_SUPPORTED_WITH_XHR = 2820,
23+
// (undocumented)
2224
JSONP_HEADERS_NOT_SUPPORTED = 2812,
2325
// (undocumented)
2426
JSONP_WRONG_METHOD = 2810,
@@ -37,6 +39,8 @@ export const enum RuntimeErrorCode {
3739
// (undocumented)
3840
REDIRECT_NOT_SUPPORTED_WITH_XHR = 2817,
3941
// (undocumented)
42+
REFERRER_NOT_SUPPORTED_WITH_XHR = 2821,
43+
// (undocumented)
4044
RESPONSE_IS_NOT_A_BLOB = 2807,
4145
// (undocumented)
4246
RESPONSE_IS_NOT_A_STRING = 2808,

0 commit comments

Comments
 (0)