Fix a bug in tools/utils/http-helpers.js.

This commit is contained in:
Ben Newman
2016-07-13 12:46:08 -04:00
parent c6a666f025
commit e90ce88b0e

View File

@@ -136,7 +136,7 @@ _.extend(exports, {
// Body stream length for progress
var bodyStreamLength = 0;
if (_.has(options, 'bodyStream')) {
if (_.has(options, 'bodyStreamLength')) {
bodyStreamLength = options.bodyStreamLength;
delete options.bodyStreamLength;
} else {