angular/packages/common/http
Maddie Klein d43c0e973f fix(http): Throw error when headers are supplied in JSONP request (#45210)
JSONP does not support headers being set on requests. This
enables JSONP to throw an error when headers are supplied
in the request to prevent attempts to set them.

BREAKING CHANGE: JSONP will throw an error when headers are set on a reques

JSONP does not support headers being set on requests. Before when
a request was sent to a JSONP backend that had headers set the headers
were ignored. The JSONP backend will now throw an error if it
receives a request that has any headers set. Any uses of JSONP
on requests with headers set will need to remove the headers
to avoid the error.

Closes #9141

PR Close #45210
2022-03-28 09:38:19 -07:00
..
src fix(http): Throw error when headers are supplied in JSONP request (#45210) 2022-03-28 09:38:19 -07:00
test fix(http): Throw error when headers are supplied in JSONP request (#45210) 2022-03-28 09:38:19 -07:00
testing build: fix test for useUnknownInCatch (#44935) 2022-02-01 23:40:17 +00:00
BUILD.bazel build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: simplify package.jsons for all of our packages (#36944) 2020-05-06 13:54:26 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts fix(common): temporarily re-export and deprecate XhrFactory (#41393) 2021-04-01 11:26:11 -07:00