@nsshunt/stsrest01client 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3676,7 +3676,7 @@ class AxiosClient {
3676
3676
  } else {
3677
3677
  accessToken = await this.#options.GetAccessToken();
3678
3678
  }
3679
- let requestConfig = new STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, this.#DUMMY_USER);
3679
+ let requestConfig = new STSAxiosConfig(url, httpVerb).withDefaultHeaders().withAuthHeaders(accessToken, this.#DUMMY_USER);
3680
3680
  if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
3681
3681
  requestConfig.withData(filters ? filters : resource ? resource : void 0);
3682
3682
  }