2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Adding responseEncoding to mergeConfig (#1745)

Co-authored-by: Xianming Zhong <chinesedfan@qq.com>
This commit is contained in:
Thibault Ehrhart
2020-02-15 14:49:26 +01:00
committed by GitHub
parent 2cf6ae4608
commit 17a967123c
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = function mergeConfig(config1, config2) {
'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress',
'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent',
'httpsAgent', 'cancelToken', 'socketPath'
'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
];
utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {