@whitesev/utils 2.4.0 → 2.4.1
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/dist/index.amd.js +1 -1
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +1 -1
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/Httpx.ts +1 -3
package/dist/index.amd.js
CHANGED
|
@@ -1940,8 +1940,8 @@ define((function () { 'use strict';
|
|
|
1940
1940
|
});
|
|
1941
1941
|
if (ContentTypeIndex !== -1) {
|
|
1942
1942
|
let ContentTypeKey = headersKeyList[ContentTypeIndex];
|
|
1943
|
+
let ContentType = requestOption.headers[ContentTypeKey];
|
|
1943
1944
|
// 设置了Content-Type
|
|
1944
|
-
let ContentType = requestOption.headers[ContentTypeIndex].toLowerCase();
|
|
1945
1945
|
if (ContentType.includes("application/json")) {
|
|
1946
1946
|
// application/json
|
|
1947
1947
|
if (requestOption.data instanceof FormData) {
|