mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Adding responseEncoding to mergeConfig (#1745)
Co-authored-by: Xianming Zhong <chinesedfan@qq.com>
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = function mergeConfig(config1, config2) {
|
|||||||
'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
|
'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
|
||||||
'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress',
|
'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress',
|
||||||
'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent',
|
'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent',
|
||||||
'httpsAgent', 'cancelToken', 'socketPath'
|
'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
|
||||||
];
|
];
|
||||||
|
|
||||||
utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
|
utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
|
||||||
|
|||||||
Reference in New Issue
Block a user