2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00
This commit is contained in:
Tim Garthwaite
2018-01-11 12:54:29 -05:00
parent e452f761f7
commit 89bf42b946
+1 -1
View File
@@ -128,7 +128,7 @@ module.exports = function httpAdapter(config) {
transport = isHttps ? httpsFollow : httpFollow;
}
if (config.maxContentLength && maxBodyLength > -1) {
if (config.maxContentLength && config.maxContentLength > -1) {
options.maxBodyLength = config.maxContentLength;
}