diff --git a/CHANGELOG.md b/CHANGELOG.md index 23a2f022c4..2ff0a82ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Our versioning strategy is as follows: ### 🛠 Breaking Change * `[all packages]` `[all samples]` Remove Axios ([#2006](https://github.com/Sitecore/jss/pull/2006)) ([#2008](https://github.com/Sitecore/jss/pull/2008)) ([#2011](https://github.com/Sitecore/jss/pull/2011))([#2013](https://github.com/Sitecore/jss/pull/2013))([#2015](https://github.com/Sitecore/jss/pull/2015)) +([#2016](https://github.com/Sitecore/jss/pull/2016)) * `AxiosDataFetcher` is replaced by the `NativeDataFetcher`. * `AxiosDataFetcherConfig` is replaced by `NativeDataFetcherConfig`. * `AxiosResponse` is replaced by `NativeDataFetcherResponse`. diff --git a/packages/sitecore-jss/src/native-fetcher.ts b/packages/sitecore-jss/src/native-fetcher.ts index 9aa63eee0b..21e4b3a6cc 100644 --- a/packages/sitecore-jss/src/native-fetcher.ts +++ b/packages/sitecore-jss/src/native-fetcher.ts @@ -183,7 +183,6 @@ export class NativeDataFetcher { init.method = init.body ? 'POST' : 'GET'; } - headers.set('Content-Type', 'application/json'); init.headers = headers; return init;