angular/packages/common
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
..
http fix(http): Throw error when headers are supplied in JSONP request (#45210) 2022-03-28 09:38:19 -07:00
locales build: update to cldr@39 (#43820) 2021-10-13 16:49:24 +00:00
src refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
test feat(core): allow for injector to be specified when creating an embedded view (#45156) 2022-03-02 16:38:00 +00:00
testing fix(common): cleanup URL change listeners when the root view is removed (#44901) 2022-02-14 14:02:26 -08:00
upgrade refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
BUILD.bazel ci: add golden files for runtime error codes (#44677) 2022-01-12 20:42:06 +00:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00