@@ -19,3 +19,2 @@ 'use strict' | ||
| return Object.keys(headers).reduce((result, field) => { | ||
| console.log('field: ', field) | ||
| const lowerField = field.toLowerCase() | ||
@@ -22,0 +21,0 @@ if (!result[lowerField] && headers[field] && !axiosExtHeader.includes(field)) { |
+2
-2
| { | ||
| "name": "jshttp", | ||
| "version": "0.5.3", | ||
| "version": "0.5.4", | ||
| "description": "基于 Axios 的 HTTP 请求库,内置了一些常用功能,支持在任何 Javascript 环境下运行", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
| "gp": "git push && git push --tag", | ||
| "publish": "nrm use npm && npm publish" | ||
| "publish-to-npm": "nrm use npm && npm publish" | ||
| }, | ||
@@ -13,0 +13,0 @@ "repository": { |
29799
-0.1%509
-0.2%