ecinc-cloud-mappaio 9.6.19 → 9.6.20
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.
package/lib/ecmappaio.common.js
CHANGED
|
@@ -38847,7 +38847,7 @@ service.interceptors.request.use(function (config) {
|
|
|
38847
38847
|
}
|
|
38848
38848
|
if (config.method === 'put' || config.method === 'delete') {
|
|
38849
38849
|
if (window.forbidPut) {
|
|
38850
|
-
config.headers['X-HTTP-Method-Override'] = config.method;
|
|
38850
|
+
config.headers['X-HTTP-Method-Override'] = config.method.toUpperCase();
|
|
38851
38851
|
config.method = 'post';
|
|
38852
38852
|
}
|
|
38853
38853
|
}
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -38857,7 +38857,7 @@ service.interceptors.request.use(function (config) {
|
|
|
38857
38857
|
}
|
|
38858
38858
|
if (config.method === 'put' || config.method === 'delete') {
|
|
38859
38859
|
if (window.forbidPut) {
|
|
38860
|
-
config.headers['X-HTTP-Method-Override'] = config.method;
|
|
38860
|
+
config.headers['X-HTTP-Method-Override'] = config.method.toUpperCase();
|
|
38861
38861
|
config.method = 'post';
|
|
38862
38862
|
}
|
|
38863
38863
|
}
|